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

https://github.com/zoltan-nz/playing-with-golang


https://github.com/zoltan-nz/playing-with-golang

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

# Playing With Go

In the program folder (`./src/hello`)

```
$ go build
```

Run without compilation:

```
$ go run main.go
```

Format:

```
$ gofmt -w main.go
```

Import:

```
$ goimport -w main.go
```

## Dependency management

```
$ brew install dep
```

* `$GOPATH` can point to `~/projects/go`
* Add `$GOPATH/bin` to `$PATH`
* All your go project should be in `~/projects/go/src`