# demo **Repository Path**: bitime/demo ## Basic Information - **Project Name**: demo - **Description**: No description available - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2018-07-06 - **Last Updated**: 2020-12-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # bili-news ## 使用说明 ```bash bili-news -l :9003 ``` ## Build Prepare go environment ```bash go get -u github.com/gin-gonic/gin go get -u github.com/gin-contrib/cors go get -u github.com/sirupsen/logrus go get -u github.com/fatih/color go get -u github.com/spf13/cobra go get -u github.com/satori/go.uuid go get -u github.com/go-sql-driver/mysql go get -u github.com/garyburd/redigo/redis go get -u github.com/buger/jsonparser go get -u github.com/ethereum/go-ethereum/common/hexutil go get -u github.com/gogap/errors go get -u github.com/mreiferson/go-httpclient go get -u gopkg.in/mgo.v2 ``` Install [UPX](https://upx.github.io/), In mac it is: ```bash brew install upx ``` Build program ``` make release ``` *Note:* if encounter build error for windows, you may need `go get -u github.com/inconshreveable/mousetrap`