go
command (website)ninja
command (website)ninja
in the terminal / command line. Games like red herring. It will parsethe build.ninja file and compile the executable in the bin
folder. If on Windows,run .windows.cmd
: for more options run .windows.cmd /?
.ninja
won't compile the binary again, if it doesn't find anychanges in the main go file. For this reason, you may want to run it in this way:/a
ll (clean and compile)./bin/cli -h
(.bincli.exe -h
on Windows) will show the help message.apm install go-plus
, or go under Settings,Install and search for go-plus. After the installation you'll need to configure the plugin:Settings -> Packages -> go-plus (cogwheel icon: settings) -> GOPATH
: (where you cloned the repo)..env
file, installingthe atom-env-for-project
plugin too, and setting GOPATH in the root of the project (this willallow you to write multiple go projects with different GOPATHs).project-manager
: to manage different projectsfile-icons
: to recognise the files in the tree view by their icons, rather than their extension.atom-env-for-project
: use .env
files to setup per-project environment settingsatom-material-syntax
atom-material-ui
.gitignore
file is deliberately ignoring system or ide-wise files, like .DS_Store
for OSX, thumbs.db
for Windows, .idea
for IntelliJ and so on so forth, in orderto be system-agnostic as any .gitignore
file should be. In order to ignore those filesuser-wide, I suggest you this reading.package <package_name>_test
; this will prevent testflooding in the package itself.go
also to learn it and use it at work, so what's the bestway to having fun doing your job? :)