br0xen / boltbrowser

A CLI Browser for BoltDB Files
GNU General Public License v3.0
631 stars 91 forks source link

how do i build this? #5

Closed evnix closed 8 years ago

evnix commented 8 years ago

i tried this

$ go build boltbrowser.go 
# command-line-arguments
./boltbrowser.go:18: undefined: BoltDB
./boltbrowser.go:44: undefined: defaultStyle
./boltbrowser.go:47: undefined: mainLoop
br0xen commented 8 years ago

You have to install all of the dependencies for it. Go makes this easy, you can just type 'go get -u github.com/br0xen/boltbrowser' and it will download and install all dependencies for the project.

evnix commented 8 years ago
$ go get -u github.com/br0xen/boltbrowser
$ #  go build boltbrowser.go
command-line-arguments
./boltbrowser.go:18: undefined: BoltDB
./boltbrowser.go:44: undefined: defaultStyle
./boltbrowser.go:47: undefined: mainLoop

i have also installed boltdb prior to that command.

br0xen commented 8 years ago

When you are using the go build boltbrowser.go command, you are telling go to build only that file, not the complete project. What you actually want to do is just go build or go install.

I would recommend that you check out the go documentation, all of this is explained there.