{"id":16728488,"url":"https://github.com/tmc/srcutils","last_synced_at":"2025-08-24T15:14:10.704Z","repository":{"id":24224485,"uuid":"27616758","full_name":"tmc/srcutils","owner":"tmc","description":"tools to modify go programs","archived":false,"fork":false,"pushed_at":"2015-11-05T19:57:48.000Z","size":200,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-05-09T20:22:23.589Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-06T00:48:23.000Z","updated_at":"2018-10-25T03:52:11.000Z","dependencies_parsed_at":"2022-08-22T14:00:37.409Z","dependency_job_id":null,"html_url":"https://github.com/tmc/srcutils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmc%2Fsrcutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmc%2Fsrcutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmc%2Fsrcutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmc%2Fsrcutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmc","download_url":"https://codeload.github.com/tmc/srcutils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248207052,"owners_count":21065191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T23:10:31.783Z","updated_at":"2025-04-10T11:03:14.567Z","avatar_url":"https://github.com/tmc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"srcutils\n========\n\nutilities to perform modifications on golang codebases\n\n* license: isc\n\nInstallation\n------------\n\n```sh\n$ go get github.com/tmc/srcutils/cmd/add_argument\n```\n\nUtilities\n---------\n\nadd_argument\n\nAdds a new argument to a codebase.\n\nExample:\n\n```sh\n$ add_argument -w -arg=\"ctx context.Context\" -pos=$GOPATH/src/github.com/tmc/srcutils/test/original/z.go:#26 github.com/tmc/srcutils/test/original\n```\n\nProduces the diff:\nhttps://github.com/tmc/srcutils/commit/e70de1db99149dcf51940d1abbba0beba9779506\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmc%2Fsrcutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmc%2Fsrcutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmc%2Fsrcutils/lists"}