sync from project
This commit is contained in:
@ -8,5 +8,6 @@ import (
|
||||
type Map map[string]any
|
||||
|
||||
func (m Map) RespondWriter(w http.ResponseWriter) {
|
||||
w.Header().Set("Content-Type", "application/json")
|
||||
json.NewEncoder(w).Encode(m)
|
||||
}
|
||||
|
Reference in New Issue
Block a user