converters

package
v0.0.0-...-948c845 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2014 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Btoi

func Btoi(b bool) int

func Categories

func Categories()

func Comments

func Comments()

func CommentsWorker

func CommentsWorker(pos int64, limit int, done chan bool)

func Follows

func Follows()

func Map2InsertSql

func Map2InsertSql(o orm.Ormer, table string, data map[string]interface{}) error

func NumOfRows

func NumOfRows(o orm.Ormer, sql string) (int64, error)

func RunPreImportMySQLSettings

func RunPreImportMySQLSettings(o orm.Ormer)

func Topics

func Topics()

func TopicsWorker

func TopicsWorker(pos int64, limit int, done chan bool)

func Users

func Users()

func UsersWorker

func UsersWorker(pos int64, limit int, done chan bool)

Types

type DiscuzCategory

type DiscuzCategory struct {
	Fid          int
	Fup          int
	Type         string
	Name         string
	Status       int
	Displayorder int
	Threads      int
	Posts        int
	Lastpost     string
	Description  string
	Rules        string
}

type DiscuzComment

type DiscuzComment struct {
	Pid      int
	Tid      int
	Message  string
	Authorid int
	Author   string
	Useip    string
	Dateline int64
}

type DiscuzFollow

type DiscuzFollow struct {
	Uid       int
	Fuid      int
	Fusername string
	Dateline  int
}

type DiscuzTopic

type DiscuzTopic struct {
	Tid        int
	Subject    string
	Message    string
	Authorid   int
	Author     string
	Fid        int
	Views      int
	Replies    int
	Favtimes   int
	Digest     bool
	Closed     bool
	Lastposter string
	Lastpost   int64
	Dateline   int64
	Useip      string
}

type DiscuzUser

type DiscuzUser struct {
	Uid         int
	Username    string
	Password    string
	Email       string
	Regdate     int64
	Salt        string
	Qq          string
	Site        string
	Bio         string
	Authstr     string
	Groupid     int
	Extcredits1 int
	Extcredits8 int
	Posts       int
	Threads     int
	Digestposts int
}

type TableRows

type TableRows struct {
	Rows int64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL