Commit Graph

7 Commits

Author SHA1 Message Date
Bo-Yi Wu 21b6603afc
style: refactor tests and update CI configurations
- Remove `nolint:unparam` comment from `serve_test.go` file

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-17 16:39:35 +08:00
Bo-Yi Wu 6e6360c0c7
test: refactor tests and cleanup imports
- Replace `ioutil.TempFile` with `os.CreateTemp` in `TestEmptyDirectory` test function
- Remove unused import `io/ioutil` in `serve_test.go`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-17 16:37:27 +08:00
Bo-Yi Wu 45b3e72f18
fix(lint): should be written without leading space 2024-02-17 16:20:51 +08:00
Bo-Yi Wu a99fa6d897
chore(lint): add golang lint config
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-17 16:19:51 +08:00
Bo-Yi Wu d361912309
chore: fix lint
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-17 16:19:10 +08:00
Valentin Omnès 7e4680a8ef feat: Implement embed folder and a better organisation 2021-03-15 19:11:55 +01:00
Valentin Omnès 9ae1c0d541 feat: Implement embed folder and a better organisation 2021-03-15 19:11:23 +01:00