an updated and hopefully faster version of the ST Toolbox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
350 B

package web
import (
root "marmic/servicetrade-toolbox"
"net/http"
)
func ContractsHandler(w http.ResponseWriter, r *http.Request) {
tmpl := root.WebTemplates
data := map[string]interface{}{
"Title": "Contracts",
}
err := tmpl.Execute(w, data)
if err != nil {
http.Error(w, "Internal Server Error", http.StatusInternalServerError)
}
}