/go-embed

go1.16 + react

Primary LanguageHTML

go-embed

Pack gin-gonic and create-react-app into a binary file.

Usage

  • go1.16+
  • create-react-app

After running the file, the system browser will be used to access the monitoring address.

cd web
yarn install
yarn build
cd ..
go build -o server main.go
./server