Files
Crimson-Gatekeeper/srv/cmd/gatekeeper/main.go

17 lines
235 B
Go
Raw Normal View History

2026-01-13 00:08:49 +08:00
package main
2026-01-21 17:44:51 +08:00
import (
"net/http"
2026-01-21 17:44:51 +08:00
"github.com/go-spring/spring-core/gs"
)
type Test struct{}
2026-01-21 17:44:51 +08:00
func main() {
http.HandleFunc("/echo", func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("hello world!"))
})
gs.Run()
2026-01-21 17:44:51 +08:00
}