Update README.md

This commit is contained in:
Rainy season boy 2020-08-20 23:02:39 +08:00 committed by GitHub
parent bfd2340732
commit 9878dffefc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,6 +96,9 @@ cd ../
# 安装 statik, 用于嵌入静态资源
go get github.com/rakyll/statik
#如果在嵌入时找不到statik 命令,请尝试执行:
export PATH=$PATH:$(go env GOPATH)/bin
# 开始嵌入
statik -src=assets/build/ -include=*.html,*.js,*.json,*.css,*.png,*.svg,*.ico -f
```