20 lines
271 B
Go
20 lines
271 B
Go
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...")
|
|
}
|