model

package
v0.0.0-...-392c5ba Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2015 License: LGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

type Repo struct {
	ID          int    `bson:"_id"`
	Name        string `bson:"name"`
	User        string `bson:"user"`
	Owner       string `bson:"owner"`
	Fork        bool   `bson:"fork"`
	Description string `bson:"description"`
	Stars       int    `bson:"stars"`
	Forks       int    `bson:"forks"`
	Watchers    int    `bson:"watches"`
}

type User

type User struct {
	ID        int    `bson:"_id"`
	Username  string `bson:"username"`
	Fullname  string `bson:"fullname"`
	Followers int    `bson:"followers"`
	Following int    `bson:"following"`
}

Jump to

Keyboard shortcuts

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