mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
13 lines
183 B
Go
13 lines
183 B
Go
package main
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
func main() {
|
|
r := gin.Default()
|
|
r.GET("/users", listUsers)
|
|
r.Run()
|
|
}
|
|
|
|
func listUsers(c *gin.Context) {
|
|
c.JSON(200, []string{})
|
|
}
|