mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Test: onedrive related
This commit is contained in:
@@ -38,13 +38,6 @@ func WithConflictBehavior(t string) Option {
|
||||
})
|
||||
}
|
||||
|
||||
// WithExpires 设置过期时间
|
||||
func WithExpires(t time.Time) Option {
|
||||
return optionFunc(func(o *options) {
|
||||
o.expires = t
|
||||
})
|
||||
}
|
||||
|
||||
func (f optionFunc) apply(o *options) {
|
||||
f(o)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user