catbase/bot/user/users.go

18 lines
341 B
Go

// © 2013 the CatBase Authors under the WTFPL. See AUTHORS for the list of authors.
package user
// User type stores user history. This is a vehicle that will follow the user for the active
// session
type User struct {
// Current nickname known
Name string
Admin bool
}
func New(name string) User {
return User{
Name: name,
}
}