Skip to content

ericung/myapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Application that I will build to template future projects.

Building a single binary containing templates

This is a complete example to create a single binary with the gin-gonic/gin Web Server with HTML templates.

How to use

Prepare Packages

go get github.com/gin-gonic/gin
go get github.com/jessevdk/go-assets-builder

Generate assets.go

go-assets-builder html -o assets.go

Quick Run

go run main.go assets.go

Build the server

go build -o assets-in-binary

Run

./assets-in-binary

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages