You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
kratos/selector/global.go

13 lines
275 B

package selector
var globalSelector Builder
// GlobalSelector returns global selector builder.
func GlobalSelector() Builder {
return globalSelector
}
// SetGlobalSelector set global selector builder.
func SetGlobalSelector(builder Builder) {
globalSelector = builder
}