https://github.com/ajinasokan/goinit
Simple command line tool to generate new Go project for GoLand.
https://github.com/ajinasokan/goinit
Last synced: 4 months ago
JSON representation
Simple command line tool to generate new Go project for GoLand.
- Host: GitHub
- URL: https://github.com/ajinasokan/goinit
- Owner: ajinasokan
- License: mit
- Created: 2018-09-28T07:32:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-28T07:41:29.000Z (over 6 years ago)
- Last Synced: 2025-01-10T16:26:15.138Z (5 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# goinit
`goinit` is a simple command line tool to generate new golang project for GoLand.
## Usage
Installation:
```sh
$ go get -u github.com/ajinasokan/goinit
$ go install github.com/ajinasokan/goinit
```Usage:
```sh
$ goinit github.com/ajinasokan/helloworld
creating helloworld
$ cd helloworld
```It does the following things:
* Creates go.mod with given repo URL
* Creates a hello world example
* Creates IntelliJ project
* Creates new build configuration
* Enables `Single instance only` mode
* Sets GOROOT in the project using `runtime.GOROOT()`
* Enables `goimports` in the project using `File Watchers`