gogs/internal/cmd
宋子桓🌈 d695c02223
Refactor template directory handling
Introduce a `customDir` variable to store the custom template directory path, improving code readability and reducing redundancy in both `web.go` and `email.go`. This change ensures that the custom directory is consistently referenced throughout the configuration.
2025-02-01 01:26:43 +08:00
..
admin.go all: unwrap `database.UsersStore` interface (#7708) 2024-03-27 23:18:59 -04:00
backup.go chore: rename `internal/db` to `internal/database` (#7665) 2024-02-18 19:39:41 -05:00
cert.go cmd: always build with "cert" subcommand (#7883) 2024-12-23 12:10:43 -05:00
cmd.go workflows: enable golangci-lint (#5998) 2020-03-21 13:39:32 +08:00
hook.go chore: rename `internal/db` to `internal/database` (#7665) 2024-02-18 19:39:41 -05:00
import.go chore: remove duplicate error and fix typo error message (#7763) 2024-06-28 23:03:32 -04:00
restore.go chore: rename `internal/db` to `internal/database` (#7665) 2024-02-18 19:39:41 -05:00
serv.go all: unwrap `database.UsersStore` interface (#7708) 2024-03-27 23:18:59 -04:00
web.go Refactor template directory handling 2025-02-01 01:26:43 +08:00