data

package
v0.0.0-...-42a1ec8 Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() *gorm.DB

Init the database

func Save

func Save(user User)

Save user to a postgres db

func Signed

func Signed(nickName string) bool

Signed check if a github user is registered with the DB

Types

type User

type User struct {
	Time        string
	Name        string
	Email       string
	NickName    string
	UserID      string
	Description string
}

User data from Github after signing the CLA

func GetAll

func GetAll() []User

GetAll find all users

Jump to

Keyboard shortcuts

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