mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 11:27:06 +00:00
fix examples link in the /mvc and a controller test
Former-commit-id: 1384d7297f79f47a395701433034c57ad361f5ab
This commit is contained in:
@@ -135,11 +135,11 @@ If you're new to back-end web development read about the MVC architectural patte
|
|||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
- [Hello world](mvc/hello-world/main.go) **UPDATED**
|
- [Hello world](hello-world/main.go) **UPDATED**
|
||||||
- [Session Controller](mvc/session-controller/main.go) **UPDATED**
|
- [Session Controller](session-controller/main.go) **UPDATED**
|
||||||
- [Overview - Plus Repository and Service layers](mvc/overview) **UPDATED**
|
- [Overview - Plus Repository and Service layers](overview) **UPDATED**
|
||||||
- [Login showcase - Plus Repository and Service layers](mvc/login) **UPDATED**
|
- [Login showcase - Plus Repository and Service layers](login) **UPDATED**
|
||||||
- [Singleton](mvc/singleton) **NEW**
|
- [Singleton](singleton) **NEW**
|
||||||
- [Websocket Controller](mvc/websocket) **NEW**
|
- [Websocket Controller](websocket) **NEW**
|
||||||
|
|
||||||
Folder structure guidelines can be found at the [_examples/#structuring](https://github.com/kataras/iris/tree/master/_examples/#structuring) section.
|
Folder structure guidelines can be found at the [_examples/#structuring](https://github.com/kataras/iris/tree/master/_examples/#structuring) section.
|
||||||
@@ -482,7 +482,7 @@ func (c *testControllerNotCreateNewDueManuallySettingAllFields) Get() string {
|
|||||||
|
|
||||||
func TestControllerNotCreateNewDueManuallySettingAllFields(t *testing.T) {
|
func TestControllerNotCreateNewDueManuallySettingAllFields(t *testing.T) {
|
||||||
app := iris.New()
|
app := iris.New()
|
||||||
New(app).Register(&testControllerNotCreateNewDueManuallySettingAllFields{
|
New(app).Handle(&testControllerNotCreateNewDueManuallySettingAllFields{
|
||||||
T: t,
|
T: t,
|
||||||
TitlePointer: &testBindType{
|
TitlePointer: &testBindType{
|
||||||
title: "my title",
|
title: "my title",
|
||||||
|
|||||||
Reference in New Issue
Block a user