mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
12 lines
205 B
Go
12 lines
205 B
Go
package main
|
|
|
|
import "net/http"
|
|
|
|
func main() {
|
|
http.HandleFunc("/users", listUsers)
|
|
http.ListenAndServe(":8080", nil)
|
|
}
|
|
|
|
func listUsers(w http.ResponseWriter, r *http.Request) {
|
|
w.Write([]byte("[]"))
|
|
}
|