# install go first
go mod init zgo
go mod tidy # maybe you can skip this
go build
./zgo -dbfile zi.db -port 8081
- /doit
post a json {x:1,y:1,uid:1}
- /getall?x1=1&x2=2&y1=1&y2=2
get all zi in a rect
# install go first
go mod init zgo
go mod tidy # maybe you can skip this
go build
./zgo -dbfile zi.db -port 8081
post a json {x:1,y:1,uid:1}
get all zi in a rect