Pagina utenti caricata da json

This commit is contained in:
2022-05-28 19:09:50 +02:00
parent a53ee26e78
commit 1ccb71d3a1
11 changed files with 197 additions and 28 deletions
+2
View File
@@ -1,7 +1,9 @@
package util
// H is a shortcut for creating a json-like object
type H map[string]interface{}
// Apply is like Object.apply from JS and merges the given objects on top of target
func (target H) Apply(sources ...H) H {
for _, source := range sources {
for k, v := range source {