1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-24 05:17:03 +00:00

Add one more example for dependency injection (HTTP Request-based) using our hero

Former-commit-id: ff18371d254caf2d1932d6522b1ebc1f8032708f
This commit is contained in:
Gerasimos (Makis) Maropoulos
2018-08-10 00:23:17 +03:00
parent 0491aa68b5
commit 9f464310e3
3 changed files with 188 additions and 11 deletions

View File

@@ -21,19 +21,9 @@ cd _examples && go get ./...
go get github.com/iris-contrib/middleware/...
go get github.com/betacraft/yaag/irisyaag
go get github.com/markbates/goth/...
go get github.com/getsentry/raven-go/...
go get github.com/casbin/casbin
go get github.com/markbates/goth/...
go get github.com/aws/aws-sdk-go/...
go get github.com/getsentry/raven-go/...
go get github.com/casbin/casbin
go get github.com/aws/aws-sdk-go/...
go get github.com/prometheus/client_golang/...
go get github.com/didip/tollbooth
go get github.com/valyala/quicktemplate
go get github.com/shiyanhui/hero
go get github.com/go-xorm/xorm
go get github.com/nfnt/resize
go get github.com/getsentry/raven-go/...
go get github.com/prometheus/client_golang/...
go get github.com/didip/tollbooth
go get github.com/valyala/quicktemplate
@@ -44,6 +34,7 @@ go get github.com/dgrijalva/jwt-go
go get github.com/newrelic/go-agent
go get github.com/valyala/tcplisten
go get github.com/kataras/bindata/cmd/bindata
go get github.com/jmespath/go-jmespath
```
</details>
@@ -169,6 +160,8 @@ Navigate through examples for a better understanding.
- [Basic](hero/basic/main.go)
- [Overview](hero/overview)
- [Sessions](hero/sessions) **NEW**
- [Yet another dependency injection example and good practises at general](hero/smart-contract/main.go) **NEW**
### MVC