Need help with golang-goji-sample?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

haruyama
121 Stars 25 Forks MIT License 34 Commits 0 Opened issues

Services available

!
?

Need anything else?

Contributors list

# 155,270
Shell
html-pa...
jQuery
fmp4
24 commits
# 674,235
HTML
CSS
1 commit

Golang Goji Sample

Sample Web Application based on https://github.com/elcct/defaultproject

  • Goji - A web microframework for Golang - http://goji.io/
  • Gorilla web toolkit sessions - cookie (and filesystem) sessions - http://www.gorillatoolkit.org/pkg/sessions

Dependencies

Default Project requires

Go
,
MySQL
and few other tools installed.

Project structure

/controllers

All your controllers that serve defined routes.

/helpers

Helper functions.

/models

You database models.

/public

It has all your static files mapped to

/assets/*
path except
robots.txt
and
favicon.ico
that map to
/
.

/system

Core functions and structs.

/views

Your views using standard

Go
template system.

server.go

This file starts your web application and also contains routes definition.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.