mirror of
				https://github.com/gin-gonic/gin.git
				synced 2025-11-04 09:12:12 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			414 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			414 B
		
	
	
	
		
			Go
		
	
	
	
	
	
/*
 | 
						|
Package gin implements a HTTP web framework called gin.
 | 
						|
 | 
						|
See https://gin-gonic.com/ for more information about gin.
 | 
						|
 | 
						|
Example:
 | 
						|
 | 
						|
	package main
 | 
						|
 | 
						|
	import "github.com/gin-gonic/gin"
 | 
						|
 | 
						|
	func main() {
 | 
						|
		r := gin.Default()
 | 
						|
		r.GET("/ping", func(c *gin.Context) {
 | 
						|
			c.JSON(200, gin.H{
 | 
						|
				"message": "pong",
 | 
						|
			})
 | 
						|
		})
 | 
						|
		r.Run() // listen and serve on 0.0.0.0:8080
 | 
						|
	}
 | 
						|
*/
 | 
						|
package gin // import "github.com/gin-gonic/gin"
 |