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>
This commit is contained in:
Ink33
2022-04-09 20:58:07 +08:00
committed by GitHub
parent ec776ac837
commit 84807be1ca
11 changed files with 204 additions and 244 deletions

4
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/cloudreve/Cloudreve/v3
go 1.13
go 1.17
require (
github.com/DATA-DOG/go-sqlmock v1.3.3
@@ -43,4 +43,4 @@ require (
gopkg.in/go-playground/validator.v9 v9.29.1
gopkg.in/ini.v1 v1.51.0 // indirect
gopkg.in/mail.v2 v2.3.1 // indirect
)
)