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

MVC Example - you can learn a lot | Asleep for your eyes (again)

Former-commit-id: cd66c00b29c903b724763cb84cae96426934acb5
This commit is contained in:
kataras
2017-08-13 07:57:47 +03:00
parent 39a24fb7cb
commit 2786ca1960
11 changed files with 325 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
package persistence
// Database is our imaginary storage.
type Database struct {
Connstring string
}
func OpenDatabase(connstring string) *Database {
return &Database{Connstring: connstring}
}