Skip to content

rongfengliang/statik-web-demo

Repository files navigation

statik Embed static resource for golang application

How to Run(local)

  • install statik
go get github.com/rakyll/statik
  • generate code
 statik -src=./ui

 or:

 go generate

  • build
go build -o webui .

With docker

  • build
docker-compose build
  • run
dokcer-compose up -d