mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-06-15 16:27:37 +08:00
chore(deps): update Go dependencies
- Update all dependencies to latest versions - Upgrade touka to break/v1 branch - Migrate from RunShutdown to Run with graceful shutdown options - Use functional options pattern: WithAddr and WithGracefulShutdownDefault
This commit is contained in:
parent
32baca85db
commit
3d01d4cd15
7 changed files with 51 additions and 46 deletions
|
|
@ -289,7 +289,7 @@ func getParsedTemplate() (*template.Template, error) {
|
|||
}
|
||||
|
||||
// htmlTemplateRender 修改为使用缓存的模板。
|
||||
func htmlTemplateRender(data interface{}) ([]byte, error) {
|
||||
func htmlTemplateRender(data any) ([]byte, error) {
|
||||
tmpl, err := getParsedTemplate()
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to get parsed template: %w", err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue