Administration, organizations access rights and véhicles booking
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
package renderer
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"html/template"
|
||||
"time"
|
||||
)
|
||||
|
||||
@@ -47,6 +49,11 @@ func GenderISO5218(d any) string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func JSON(v any) template.JS {
|
||||
result, _ := json.Marshal(v)
|
||||
return template.JS(result)
|
||||
}
|
||||
|
||||
func Dict(v ...interface{}) map[string]interface{} {
|
||||
dict := map[string]interface{}{}
|
||||
lenv := len(v)
|
||||
|
||||
Reference in New Issue
Block a user