2021年10月19日

go git

Err
main.go:7:2: cannot find package "github.com/lib/pq" in any of:
        /usr/local/go/src/github.com/lib/pq (from $GOROOT)
        /home/ub1/go/src/github.com/lib/pq (from $GOPATH)


sudo apt install git

Screenshot from 2021-10-19 09-40-44.png



Err
b1@ub1-System-Product-Name:~/golang/03$ go get github.com/mattn/go-sqlite3
# github.com/mattn/go-sqlite3
cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in $PATH


sudo apt install gcc
Screenshot from 2021-10-19 09-49-05.png
posted by a23 at 09:39| Comment(0) | Golang

Ubuntu sqlitebrowser

posted by a23 at 09:11| Comment(0) | SQLite