mirror of
https://github.com/kataras/iris.git
synced 2025-01-24 03:01:03 +01:00
8cd07719a6
Former-commit-id: 70f8619440497d132362da86c5187bcc57f8687b
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}
|
|
}
|