{"id":17785059,"url":"https://github.com/eun/gomultifmt","last_synced_at":"2025-04-01T22:44:48.841Z","repository":{"id":57497232,"uuid":"121966089","full_name":"Eun/gomultifmt","owner":"Eun","description":"Run multiple golang formatters in one command","archived":false,"fork":false,"pushed_at":"2018-02-19T15:14:26.000Z","size":87,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-07T14:47:14.616Z","etag":null,"topics":["go","golang","tool"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Eun.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":"2018-02-18T15:55:53.000Z","updated_at":"2019-01-28T14:48:08.000Z","dependencies_parsed_at":"2022-09-03T23:51:49.955Z","dependency_job_id":null,"html_url":"https://github.com/Eun/gomultifmt","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eun%2Fgomultifmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eun%2Fgomultifmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eun%2Fgomultifmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eun%2Fgomultifmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Eun","download_url":"https://codeload.github.com/Eun/gomultifmt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246724798,"owners_count":20823543,"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":["go","golang","tool"],"created_at":"2024-10-27T08:23:10.134Z","updated_at":"2025-04-01T22:44:48.815Z","avatar_url":"https://github.com/Eun.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# gomultifmt [![Travis](https://img.shields.io/travis/Eun/gomultifmt.svg)](https://travis-ci.org/Eun/gomultifmt) [![go-report](https://goreportcard.com/badge/github.com/Eun/gomultifmt)](https://goreportcard.com/report/github.com/Eun/gomultifmt)\nRun multiple golang formatters in one command\n\n\n## Installation\n```\ngo get -u github.com/Eun/gomultifmt\n```\n\n## Usage\n```\nusage: gomultifmt [\u003cflags\u003e] [\u003cpath\u003e...]\n\nRun multiple golang formatters in one command\n\nFlags:\n  -h, --help             Show context-sensitive help (also try --help-long and --help-man).\n  -f, --fmt=gofmt ...    Formatter to call (sepcify it multiple times, e.g.: --fmt=gofmt --fmt=goremovelines\n  -w, --toSource         Write result to (source) file instead of stdout\n  -s, --skip=DIR... ...  Skip directories with this name when expanding '...'.\n      --vendor           Enable vendoring support (skips 'vendor' directories and sets GO15VENDOREXPERIMENT=1).\n  -d, --debug            Display debug messages.\n  -v, --version          Show application version.\n\nArgs:\n  [\u003cpath\u003e]  Directories to format. Defaults to \".\". \u003cpath\u003e/... will recurse.\n```\n\n\n## Examples\n### Format all files with gofmt first, and then goremovelines afterwards\n```\ngomultifmt --vendor --fmt=gofmt --fmt=goremovelines -w ./...\n```\n\n### Format main.go with gofmt and goremovelines, but write to stdout\n\n```\ngomultifmt --fmt=gofmt --fmt=goremovelines main.go\n```\n\n## Bonus VSCode config\n\n  \"go.formatFlags\": [\n      \"--fmt=goreturns\",\n      \"--fmt=goremovelines\",\n  ],\n  \"go.formatTool\": \"gomultifmt\",\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feun%2Fgomultifmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feun%2Fgomultifmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feun%2Fgomultifmt/lists"}