natsio/subject/authsms.go

16 lines
324 B
Go
Raw Normal View History

2022-10-20 07:32:32 +00:00
package subject
import "fmt"
func getAuthSMSValue(val string) string {
return fmt.Sprintf("%s.%s", prefixes.AuthSMS, val)
}
var AuthSMS = struct {
2022-10-21 04:49:48 +00:00
CreateUserSMS string
GetListPermission string
2022-10-20 07:32:32 +00:00
}{
2022-10-21 04:49:48 +00:00
CreateUserSMS: getAuthSMSValue("create_user_sms"),
GetListPermission: getAuthSMSValue("get_list_permission"),
2022-10-20 07:32:32 +00:00
}