├── testdata
├── i18n
│ ├── messages
│ │ ├── invalid_message_file_name.txt
│ │ ├── english_messages2.en
│ │ ├── dutch_messages.nl
│ │ └── english_messages.en
│ └── config
│ │ └── test_app.conf
├── public
│ └── js
│ │ └── sessvars.js
├── app
│ └── views
│ │ ├── footer.html
│ │ ├── hotels
│ │ └── show.html
│ │ └── header.html
└── conf
│ ├── routes
│ └── app.conf
├── AUTHORS
├── skeleton
├── .gitignore
├── public
│ ├── img
│ │ └── favicon.png
│ └── fonts
│ │ ├── glyphicons-halflings-regular.ttf
│ │ ├── glyphicons-halflings-regular.woff
│ │ └── glyphicons-halflings-regular.woff2
├── app
│ ├── views
│ │ ├── footer.html
│ │ ├── errors
│ │ │ ├── 500.html
│ │ │ └── 404.html
│ │ ├── flash.html
│ │ ├── App
│ │ │ └── Index.html
│ │ ├── header.html
│ │ └── debug.html
│ ├── controllers
│ │ └── app.go
│ └── init.go
├── tests
│ └── apptest.go
├── messages
│ └── sample.en
├── conf
│ ├── routes
│ └── app.conf.template
└── README.md
├── templates
└── errors
│ ├── 404.xml
│ ├── 403.txt
│ ├── 403.xml
│ ├── 404.txt
│ ├── 405.txt
│ ├── 405.xml
│ ├── 403.json
│ ├── 404.json
│ ├── 405.json
│ ├── 500.json
│ ├── 500.xml
│ ├── 403.html
│ ├── 405.html
│ ├── 500.html
│ ├── 500.txt
│ ├── 404.html
│ ├── 404-dev.html
│ └── 500-dev.html
├── version.yaml
├── .gitignore
├── version.go
├── libs.go
├── panic.go
├── cache
├── inmemory_test.go
├── memcached_test.go
├── redis_test.go
├── init.go
├── inmemory.go
├── serialization_test.go
├── serialization.go
├── memcached.go
├── cache.go
├── cache_test.go
└── redis.go
├── LICENSE
├── filter.go
├── results_test.go
├── invoker.go
├── compress_test.go
├── field.go
├── session_test.go
├── flash.go
├── validation_test.go
├── .travis.yml
├── fakeapp_test.go
├── intercept_test.go
├── util_test.go
├── README.md
├── server_test.go
├── invoker_test.go
├── filterconfig_test.go
├── params.go
├── errors.go
├── validators.go
├── http.go
├── params_test.go
├── session.go
├── watcher.go
├── compress.go
├── intercept.go
├── server.go
├── CONTRIBUTING.md
├── filterconfig.go
├── i18n.go
├── validation.go
├── util.go
└── testing
└── testsuite_test.go
/testdata/i18n/messages/invalid_message_file_name.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/AUTHORS:
--------------------------------------------------------------------------------
1 | # TODO Revel Framework Authors Information
2 |
--------------------------------------------------------------------------------
/skeleton/.gitignore:
--------------------------------------------------------------------------------
1 | test-results/
2 | tmp/
3 | routes/
4 |
--------------------------------------------------------------------------------
/testdata/i18n/messages/english_messages2.en:
--------------------------------------------------------------------------------
1 | greeting2=Yo!
2 |
--------------------------------------------------------------------------------
/testdata/public/js/sessvars.js:
--------------------------------------------------------------------------------
1 | console.log('Test file');
2 |
--------------------------------------------------------------------------------
/templates/errors/404.xml:
--------------------------------------------------------------------------------
1 | {{.Error.Description}}
2 |
--------------------------------------------------------------------------------
/templates/errors/403.txt:
--------------------------------------------------------------------------------
1 | {{.Error.Title}}
2 |
3 | {{.Error.Description}}
4 |
--------------------------------------------------------------------------------
/templates/errors/403.xml:
--------------------------------------------------------------------------------
1 | {{.Error.Description}}
2 |
--------------------------------------------------------------------------------
/templates/errors/404.txt:
--------------------------------------------------------------------------------
1 | {{.Error.Title}}
2 |
3 | {{.Error.Description}}
4 |
--------------------------------------------------------------------------------
/templates/errors/405.txt:
--------------------------------------------------------------------------------
1 | {{.Error.Title}}
2 |
3 | {{.Error.Description}}
4 |
--------------------------------------------------------------------------------
/version.yaml:
--------------------------------------------------------------------------------
1 | version: 0.13.0-dev
2 | buildDate: TBD
3 | minimumGo: >= go1.4
4 |
--------------------------------------------------------------------------------
/templates/errors/405.xml:
--------------------------------------------------------------------------------
1 | {{.Error.Description}}
2 |
--------------------------------------------------------------------------------
/skeleton/public/img/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoping378/revel/master/skeleton/public/img/favicon.png
--------------------------------------------------------------------------------
/templates/errors/403.json:
--------------------------------------------------------------------------------
1 | {
2 | "title": "{{js .Error.Title}}",
3 | "description": "{{js .Error.Description}}"
4 | }
5 |
--------------------------------------------------------------------------------
/templates/errors/404.json:
--------------------------------------------------------------------------------
1 | {
2 | "title": "{{js .Error.Title}}",
3 | "description": "{{js .Error.Description}}"
4 | }
5 |
--------------------------------------------------------------------------------
/templates/errors/405.json:
--------------------------------------------------------------------------------
1 | {
2 | "title": "{{js .Error.Title}}",
3 | "description": "{{js .Error.Description}}"
4 | }
5 |
--------------------------------------------------------------------------------
/templates/errors/500.json:
--------------------------------------------------------------------------------
1 | {
2 | "title": "{{js .Error.Title}}",
3 | "description": "{{js .Error.Description}}"
4 | }
5 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | tmp/
2 | routes/
3 | test-results/
4 | revel/revel
5 |
6 | # editor
7 | *.swp
8 |
9 | .idea/
10 | *.iml
11 |
12 |
--------------------------------------------------------------------------------
/skeleton/app/views/footer.html:
--------------------------------------------------------------------------------
1 | {{if eq .RunMode "dev"}}
2 | {{template "debug.html" .}}
3 | {{end}}
4 |