Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/broady/gowork


https://github.com/broady/gowork

Last synced: 1 day ago
JSON representation

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

```