This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
package roles
|
|
|
|
import (
|
|
"io/ioutil"
|
|
"strings"
|
|
)
|
|
|
|
var rolesFromLevel []string
|
|
|
|
func init() {
|
|
listOfRoles, _ := ioutil.ReadFile("roles.txt")
|
|
rolesFromLevel = strings.Split(string(listOfRoles), "\n")
|
|
for k, v := range rolesFromLevel {
|
|
rolesFromLevel[k] = strings.TrimSpace(v)
|
|
}
|
|
}
|