Browse Source

Update README.md

Volodymyr Tkach 2 years ago
parent
commit
71550c46c9
1 changed files with 4 additions and 0 deletions
  1. 4 0
      README.md

+ 4 - 0
README.md

@@ -23,6 +23,10 @@ type base.Handler struct {
     Shutdown context.CancelFunc
     Shutdown context.CancelFunc
 }
 }
 
 
+func (h base.Handler) FuncMap(w http.ResponseWriter, r *http.Request) template.FuncMap {
+    return template.FuncMap{}
+}
+
 func NewMux(ctx context.Context, shutdown context.CancelFunc, db *database.DataBase) *apiserv.ServeMux {
 func NewMux(ctx context.Context, shutdown context.CancelFunc, db *database.DataBase) *apiserv.ServeMux {
     mux := apiserv.NewServeMux()
     mux := apiserv.NewServeMux()