Gin 의 특징
-
It features a martini-like API with performance that is up to 40 times faster thanks to httprouter. If you need performance and good productivity, you will love Gin.
- 요약하자면, 성능과 좋은 생산성을 갖춘 프레임워크 인것 같습니다. ^^
23.06.15
DEVOTEE를 활성화 시키면
지금 작성한 커뮤니티 글에 대해 1개의 댓글을 달아줍니다.
버튼을 누르면 글 수정 시 ChatGPT가 작성한 댓글이 수정됩니다.
| 컨텐츠 유형 | 제목 | 저장일 | 삭제 |
|---|
본인인증 로그인에 실패하였습니다.
회원이 아니시거나 본인인증 등록이
완료되지 않은 사용자입니다.
It features a martini-like API with performance that is up to 40 times faster thanks to httprouter. If you need performance and good productivity, you will love Gin.
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
즉, Go는 단순하고 안정적이며 효율적인 소프트웨어를 쉽게 구축 할 수있는 오픈 소스 프로그래밍 언어라고 하네요.
.png)
설명
주인공이 깜찍한(?) 모습의 물개 ? 곰 ? 몬지는 모르겠지만, 나름 귀엽습니다. ^^
Download Go 클릭 해서 자기 환경에 알맞은 버전으로 설치하시면 됩니다.
참고 URI
.png)
.png)
package main
import "fmt"
func main() {
fmt.Println("Hello, T.hub world. ^^")
}
$ go get -u github.com/gin-gonic/gin
//1.Import it in your code:
import "github.com/gin-gonic/gin"
//2.(Optional) Import net/http. This is required for example if using constants such as http.StatusOK.
import "net/http"
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 (for windows "localhost:8080")
}
.png)
DEVOTEE를 활성화 시키면
지금 작성한 댓글에 AI가 댓글을 달아줍니다.