mirror of
https://github.com/elicpeter/nyx.git
synced 2026-07-21 21:31:03 +02:00
Dynamic (#77)
This commit is contained in:
parent
55247b7fcd
commit
991c84a1eb
1464 changed files with 225448 additions and 1985 deletions
12
tests/dynamic_fixtures/surface/go_http/main.go
Normal file
12
tests/dynamic_fixtures/surface/go_http/main.go
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
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("[]"))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue