server/functions.go

20 lines
271 B
Go
Raw Normal View History

2020-12-11 20:23:16 +00:00
package main
import (
"fmt"
"net/http"
"git.nils.zone/clientserverapi/server/storage"
)
func check(err error) {
if err != nil {
panic(err)
}
storage.GetComputers()
}
func homePage(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Nothing here...")
}