Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/broady/gowork
https://github.com/broady/gowork
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/broady/gowork
- Owner: broady
- Created: 2015-09-04T22:58:02.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-08T18:03:32.000Z (about 9 years ago)
- Last Synced: 2024-04-16T11:51:54.707Z (7 months ago)
- Language: Go
- Size: 148 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```bash
# Create a new project
$ mkdir ~/goworkproj
$ cd ~/goworkproj# Get the gowork tool (once)
$ go get github.com/broady/gowork
$ gowork init "$USER/goworkproj"# (if you don't want gowork on your PATH...)
$ gowork install-wrapper# No need for a GOPATH!
$ unset GOPATH$ cat 'package main; import "fmt"; func main() { fmt.Println("hello world") }' > main.go
$ gowork run main.go
# or..
$ ./goworkw.sh run main.go# Chanage main.go to import some third-party packages. Fetch them:
$ gowork get
# or..
$ ./goworkw.sh get# See that they ended up vendor/
$ ls vendor```