GithubHelp home page GithubHelp logo

doytsujin / goimports Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bradfitz/goimports

0.0 1.0 0.0 438 KB

(old repo) Tool to fix (add, remove) your Go imports automatically.

Home Page: https://godoc.org/golang.org/x/tools/cmd/goimports

License: BSD 3-Clause "New" or "Revised" License

Go 100.00%

goimports's Introduction

This tool updates your Go import lines, adding missing ones and
removing unreferenced ones.

     $ go get golang.org/x/tools/cmd/goimports

     Note the new location. This project has moved to the official
     go.tools repo. Pull requests here will no longer be accepted.
     Please use the Go process: http://golang.org/doc/contribute.html

It acts the same as gofmt (same flags, etc) but in addition to code
formatting, also fixes imports.

See usage and editor integration notes, now moved elsewhere:

   http://godoc.org/golang.org/x/tools/cmd/goimports

Happy hacking!

goimports's People

Contributors

bradfitz avatar crawshaw avatar adg avatar dmitshur avatar fhs avatar mdwhatcott avatar nikai3d avatar shawnps avatar shivakumargn avatar ditashi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.