How to using hugo template system for go-gin?

I very like template system of hugo.

How to hugo as library for go-gin render HTML?
like

ctx.HTML(http.StatusOK, hugo.Page("xxx"),  gin.H{
		"title": "Hello world",
		"content":"..."
	})
}