-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathdoc.go
50 lines (33 loc) · 959 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*Mercurius gives you speed when create 'Go' applications. It lets you being focused at business.
Get a Go web application template with: Internationalization, Routers, Logging, Cache, Database, Jade Template Render Engine, JWT, oAuth 2.0. Built upon Macaron, all those items are all configured and ready to use.
Getting Started
"
go get -v github.com/novatrixtech/mercurius/...
go install github.com/novatrixtech/mercurius
mercurius new
"
Structure of a Project
"
/conf
Application configuration including environment-specific configs
/conf/app
Middlewares and routes configuration
/handler
HTTP handlers (controllers)
/locale
Language specific content bundles
/lib
Common libraries to be used across your app
/model
Models
/public
Web resources that are publicly available
/public/templates
Jade & Go HTML templates
/repo
Database comunication following repository pattern
main.go
Application entry
"
*/
package main