mirror of
https://github.com/kataras/iris.git
synced 2025-01-27 04:26:33 +01:00
2786ca1960
Former-commit-id: cd66c00b29c903b724763cb84cae96426934acb5
11 lines
197 B
Go
11 lines
197 B
Go
package persistence
|
|
|
|
// Database is our imaginary storage.
|
|
type Database struct {
|
|
Connstring string
|
|
}
|
|
|
|
func OpenDatabase(connstring string) *Database {
|
|
return &Database{Connstring: connstring}
|
|
}
|