{"id":13367468,"url":"https://github.com/joefitzgerald/Go-plus","last_synced_at":"2025-03-12T18:32:56.857Z","repository":{"id":14997547,"uuid":"17722930","full_name":"joefitzgerald/go-plus","owner":"joefitzgerald","description":"An Enhanced Go Experience For The Atom Editor","archived":true,"fork":false,"pushed_at":"2021-05-04T12:16:23.000Z","size":38319,"stargazers_count":1510,"open_issues_count":92,"forks_count":129,"subscribers_count":43,"default_branch":"master","last_synced_at":"2024-05-22T19:39:49.148Z","etag":null,"topics":["atom","autocomplete","build","editor","format","go","golang","ide","lint","test"],"latest_commit_sha":null,"homepage":"https://atom.io/packages/go-plus","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joefitzgerald.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-13T19:19:18.000Z","updated_at":"2024-04-27T20:58:52.000Z","dependencies_parsed_at":"2022-08-30T10:40:12.427Z","dependency_job_id":null,"html_url":"https://github.com/joefitzgerald/go-plus","commit_stats":null,"previous_names":[],"tags_count":139,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joefitzgerald%2Fgo-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joefitzgerald%2Fgo-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joefitzgerald%2Fgo-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joefitzgerald%2Fgo-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joefitzgerald","download_url":"https://codeload.github.com/joefitzgerald/go-plus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221309988,"owners_count":16795838,"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":["atom","autocomplete","build","editor","format","go","golang","ide","lint","test"],"created_at":"2024-07-30T00:01:50.184Z","updated_at":"2024-10-24T11:31:25.355Z","avatar_url":"https://github.com/joefitzgerald.png","language":"JavaScript","readme":"# [go-plus](https://atom.io/packages/go-plus) [![Build Status](https://travis-ci.org/joefitzgerald/go-plus.svg?branch=master)](https://travis-ci.org/joefitzgerald/go-plus) [![Build status](https://ci.appveyor.com/api/projects/status/d0cekvaprt9wo1et/branch/master?svg=true)](https://ci.appveyor.com/project/joefitzgerald/go-plus/branch/master) [![Slack](https://img.shields.io/badge/atom_slack-%23go--plus-blue.svg?style=flat)](https://atom-slack.herokuapp.com) [![Slack](https://img.shields.io/badge/gophers_slack-%23go--plus-blue.svg?style=flat)](https://gophersinvite.herokuapp.com)\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/joefitzgerald/go-plus.svg)](https://greenkeeper.io/)\n\n\u003e An Improved [Go](https://www.golang.org) Experience For The [Atom Editor](https://atom.io)\n\n![image](https://user-images.githubusercontent.com/7527103/48982584-cd537600-f0a1-11e8-9101-e43dc2064223.png)\n\n- Github: https://github.com/joefitzgerald/go-plus\n- Atom: https://atom.io/packages/go-plus\n\n## Overview\n\nThis package includes the following functionality:\n\n- Display information about your current go installation, by running `go version` and `go env`\n- Autocomplete using `gocode`\n- Format your code with `gofmt`, `goimports`, or `goreturns`;\n  optionally run one of these tools on save of any `.go` file\n- Run `go install .` and `go test -c -o {tempdir} .` to verify your code compiles\n  and to keep `gocode` suggestions up to date\n- Run a variety of linters (e.g. `golint`, `vet`, etc.) against your code using [`gometalinter`](https://github.com/alecthomas/gometalinter), [`revive`](https://github.com/mgechev/revive) or [`golangci-lint`](https://github.com/golangci/golangci-lint)\n- Run tests, display test output, and display test coverage using `go test -coverprofile`\n- Display documentation for identifiers in source code using\n  [`gogetdoc`](https://github.com/zmb3/gogetdoc)\n- Rename the symbol under your cursor using `gorename`\n- Go to definition using `guru` or `godef`\n- Highlight occurrences of an identifier using `guru`\n- Find usages of an identifier using `guru`\n\nYou can add debug functionality to Atom by installing the following package:\n\n- [go-debug](https://atom.io/packages/go-debug): Debug your package / tests using [`delve`](https://github.com/derekparker/delve)\n\n## Builds\n\n### How Are The Builds Performed?\n\nThe following commands are run for the directory of the current file:\n\n- `go install .` (for normal `.go` files)\n- `go test -o {tmpdir} -c .` (for `_test.go` files)\n\n### Why Are You Running `go install` Instead Of `go build`?\n\n`gocode` (and a few other tools, like `gotype`) work on `.a` files (i.e. the package object archive), and the way to keep these up to date is to run `go install` periodically. This ensures your autocomplete suggestions are kept up to date.\n\n## Platforms\n\nThe package has CI for OS X, Windows and Ubuntu.\n\n## Installing Missing Tools\n\nIf you are missing any required tools, you may be prompted to install them. You can also manually install the required tools in your terminal:\n\n```\ngo get -u golang.org/x/tools/cmd/goimports\ngo get -u golang.org/x/tools/cmd/gorename\ngo get -u github.com/sqs/goreturns\ngo get -u github.com/mdempsky/gocode\ngo get -u github.com/alecthomas/gometalinter\ngo get -u github.com/mgechev/revive\ngo get -u github.com/golangci/golangci-lint/cmd/golangci-lint\ngo get -u github.com/zmb3/gogetdoc\ngo get -u github.com/zmb3/goaddimport\ngo get -u github.com/rogpeppe/godef\ngo get -u golang.org/x/tools/cmd/guru\ngo get -u github.com/fatih/gomodifytags\ngo get -u github.com/tpng/gopkgs\ngo get -u github.com/ramya-rao-a/go-outline\n```\n\n## Having Issues?\n\nPlease consult the [FAQ](https://github.com/joefitzgerald/go-plus/wiki/FAQ) prior to [opening an issue](https://github.com/joefitzgerald/go-plus/issues/new): https://github.com/joefitzgerald/go-plus/wiki/FAQ\n\nIf you have an issue with debugging, file an issue with [`go-debug`](https://github.com/lloiser/go-debug) [here](https://github.com/lloiser/go-debug/issues/new).\n\n## Maintainers\n\n- Joe Fitzgerald ([@joefitzgerald](https://github.com/joefitzgerald))\n- Zac Bergquist ([@zmb3](https://github.com/zmb3))\n- Lukas Beranek ([@lloiser](https://github.com/lloiser))\n\n## Contributors\n\nA list of contributors can be found at https://github.com/joefitzgerald/go-plus/graphs/contributors. Thank you so much to everyone has contributed to the package :heart:. You are awesome!\n\n## Contributing\n\nContributions are greatly appreciated. Please fork this repository, make your\nchanges, and open a pull request. See [Contributing](https://github.com/joefitzgerald/go-plus/wiki/Contributing) for detailed instructions.\n","funding_links":[],"categories":["編輯器插件","编辑器插件"],"sub_categories":["路由"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoefitzgerald%2FGo-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoefitzgerald%2FGo-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoefitzgerald%2FGo-plus/lists"}