mirror of
https://github.com/vbatts/srvdav.git
synced 2024-11-29 03:45:39 +00:00
15 lines
244 B
Go
15 lines
244 B
Go
|
package caldav
|
||
|
|
||
|
import (
|
||
|
"github.com/samedi/caldav-go/data"
|
||
|
"github.com/samedi/caldav-go/global"
|
||
|
)
|
||
|
|
||
|
func SetupStorage(stg data.Storage) {
|
||
|
global.Storage = stg
|
||
|
}
|
||
|
|
||
|
func SetupUser(username string) {
|
||
|
global.User = &data.CalUser{username}
|
||
|
}
|