https://github.com/mikunalpha/vgp
vscode go project helper
https://github.com/mikunalpha/vgp
Last synced: 3 months ago
JSON representation
vscode go project helper
- Host: GitHub
- URL: https://github.com/mikunalpha/vgp
- Owner: mikunalpha
- Created: 2017-11-26T11:44:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-10T01:35:09.000Z (about 7 years ago)
- Last Synced: 2025-01-30T00:41:18.991Z (5 months ago)
- Language: Go
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Usage
*require `glide` installed
```
go get -u github.com/mikunalpha/vgp
```### vgp.ini
Create `vgp.ini` file under your project
```
; package name of this go project
package_name=github.com/yourname/yourpackage; output binary name
out=yourpackage
```### Init
```
vgp init && vgp up
```### Project Structure
```
- vgp.ini
- .vscode/
- settings.json
- dist/
- src/
- github.com
- yourname
- yourpackage
- vendor/
- glide.lock
- glide.yaml
```### Using glide to manage packages
Below sub-commands will be passed to `glide`:
```
"config-wizard", "cw", "get", "update", "up", "remove", "rm", "info", "novendor", "nv", "tree"
```
Download a package.
```
vgp get some/package/name
```
It's recommended that use `vgp up` after you import a new downloaded package.### Using go command
Other sub-commands will be passed to `go`.
```
vgp build
```
Will build your binary and put it into `dist` directory.