Documentation
¶
Index ¶
- Variables
- func ClusterCountry(country string) string
- func CompareUsernames(u1, u2 string) bool
- func Init(csvListPath string, ignoreUlistToml bool) error
- func NormalizedCountry(country string) string
- func SameCountry(a, b string) bool
- func SameRegion(a, b string) bool
- type Address
- type Ulist
- func (ul *Ulist) Filter(filterFn func(u User) bool) *Ulist
- func (ul *Ulist) Get(i int) *User
- func (ul *Ulist) GetByCountry(country string) *Ulist
- func (ul *Ulist) GetByName(name string) *User
- func (ul *Ulist) Iter(iterFn func(i int, u User) error) error
- func (ul *Ulist) Len() int
- func (ul *Ulist) Load(fpath string) error
- func (ul *Ulist) Save(fpath string) error
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Log = log15.New()
)
Functions ¶
func ClusterCountry ¶
func CompareUsernames ¶
func NormalizedCountry ¶
func SameCountry ¶
func SameRegion ¶
Types ¶
type Address ¶
type Ulist ¶
type Ulist struct {
// contains filtered or unexported fields
}
func GetAllUsers ¶
func GetAllUsers() *Ulist
func (*Ulist) GetByCountry ¶
Click to show internal directories.
Click to hide internal directories.