1
0
Fork 0
mirror of https://github.com/vbatts/srvdav.git synced 2024-11-25 09:55:40 +00:00
srvdav/vendor/github.com/samedi/caldav-go/config.go

15 lines
244 B
Go
Raw Normal View History

2018-04-01 15:08:20 +00:00
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}
}