go-xorm / cmd

Command line tools for database operation written by Go, moved to https://gitea.com/xorm/cmd
BSD 3-Clause "New" or "Revised" License
168 stars 77 forks source link

can't generate the xorm's baniry file , the err: .\xorm.go:35: undefined: Command #17

Closed huangjiasingle closed 7 years ago

huangjiasingle commented 7 years ago

env: window7 step: github.com/go-sql-driver/mysql

go get @@@github.com/go-xorm/xorm

go get github.com/go-xorm/cmd

cd $GOPATH/src/github.com/go-xorm/cmd/xorm

go build xorm.go

throw the err : .\xorm.go:35: undefined: Command

lunny commented 7 years ago
go build
huangjiasingle commented 7 years ago

@lunny I don't understand it , go build i was do, but when i delete the repository of cmd, and then i redo : go get github.com/go-xorm/cmd , when it was finished , i could build .