generated from bing/readnotes
19 lines
213 B
Go
19 lines
213 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"log"
|
||
|
|
||
|
"github.com/gin-gonic/gin"
|
||
|
)
|
||
|
|
||
|
|
||
|
func get(c *gin.Context){
|
||
|
//c.ClientIP()
|
||
|
log.Println()
|
||
|
}
|
||
|
|
||
|
func main(){
|
||
|
engine := gin.Default()
|
||
|
engine.GET("/", get)
|
||
|
engine.Run("0.0.0.0:10000")
|
||
|
}
|