12 Commits

Author SHA1 Message Date
db23f4061d i18n: logs in bootstrapper and response code in middleware 2022-09-29 17:39:48 +08:00
7a3d44451b precompress embedded frontend. import mholt/archiver. 2022-04-20 19:56:00 +08:00
0a18d984ab Fix: embed static file not work (introduced in #1107)
embed file system should be declared in main pkg
2022-04-12 19:11:44 +08:00
84807be1ca use go:embed for static resources (#1107)
* feat: use go:embed to embed static files

* ci: fix broken test

* docs: update readme.md

* chore: remove statik

* feat: simplify code

Co-authored-by: AaronLiu <abslant@126.com>
2022-04-09 20:58:07 +08:00
ae89b402f6 fix: statik data needs to be initialized (#640)
Co-authored-by: xuc2 <xuc2@knownsec.com>
2020-11-25 21:23:26 +08:00
79b8784934 Comply with Golang semantic import versioning (#630)
* Code: compatible with semantic import versioning

* Tools & Docs: compatible with semantic import versioning

* Clean go.mod & go.sum
2020-11-21 17:34:55 +08:00
ee0f8e964d Feat: eject internal static files 2020-05-23 13:57:02 +08:00
9910f8d732 Modify: check static file version when statics folder exists 2020-04-12 12:46:59 +08:00
fa900b166a Feat: check static files version 2020-04-08 10:00:03 +08:00
4d70f9fa3e Fix: get execute file path dynamically 2020-03-11 10:32:35 +08:00
68d3131521 Feat: cross compile script 2020-03-09 16:53:01 +08:00
30311d181d Feat: embed static files 2020-03-09 14:07:36 +08:00