README update for go install option

This commit is contained in:
nicksherron 2020-02-10 10:32:17 -05:00
parent e7041b2b9a
commit 872bacdcee
2 changed files with 6 additions and 1 deletions

View file

@ -28,6 +28,11 @@ $ brew install bashhub-server/latest/bashhub-server
```
$ docker pull nicksherron/bashhub-server
```
#### Go
go modules are required
```
GO111MODULE=on go get -u github.com/nicksherron/bashhub-server
```
#### Releases
Binaries for various os and architectures can be found in [releases](https://github.com/nicksherron/bashhub-server/releases).
If your system is not listed just submit a issue requesting your os and architecture.

View file

@ -205,7 +205,7 @@ func (cmd Command) commandInsert() int64 {
}
return inserted
}
//TODO: make this less complicated. It's the epitome of a cluster fuck.
func (cmd Command) commandGet() []Query {
var results []Query
var rows *sql.Rows