Skip to content

abrander/gingopherjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

gingopherjs

A gin-gonic route for developing client side javascript with gopherjs.

Can be used like this:

import (
	"github.com/gin-gonic/gin"
	"github.com/abrander/gingopherjs"
)

func main() {
	router := gin.Default()
	g, _ := gingopherjs.New("github.com/me/myrepo")
	router.GET("/client.js", g.Handler)
	router.Run(":8080")
}

Please note that this will compile your Javascript at every request. It's only useful for development and should never be exposed on a public webserver.

About

A gin-gonic route for developing client side javascript with gopherjs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages