mirror of
https://github.com/kataras/iris.git
synced 2025-01-24 03:01:03 +01:00
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}
|
||
|
}
|