nick_bot: github.com/icholy/nick_bot/model Index | Files

package model

import "github.com/icholy/nick_bot/model"

Index

Package Files

model.go utils.go

func ShuffelUsers Uses

func ShuffelUsers(users []*User)

type Media Uses

type Media struct {
    ID        string
    URL       string
    UserID    int64
    Username  string
    LikeCount int
    PostedAt  time.Time
}

func (*Media) String Uses

func (m *Media) String() string

type MediaState Uses

type MediaState int
const (
    MediaAvailable MediaState = iota
    MediaRejected
    MediaUsed
)

type Record Uses

type Record struct {
    Media
    FaceCount int
    State     MediaState
}

func (*Record) String Uses

func (rec *Record) String() string

type User Uses

type User struct {
    ID   int64
    Name string
}

func (*User) String Uses

func (u *User) String() string

type UserDetails Uses

type UserDetails struct {
    User
    RealName      string
    FollowerCount int
}

Package model imports 3 packages (graph) and is imported by 4 packages. Updated 2017-06-10. Refresh now. Tools for package owners.