org

package
v0.0.0-...-96c2995 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2018 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(db model.Connection, name string) (sql.Result, error)

Types

type Org

type Org struct {
	ID   int64  `db:"id"`
	Name string `db:"name"`
}

func ByID

func ByID(db model.Connection, id int64) (Org, bool, error)

func ByName

func ByName(db model.Connection, name string) (Org, bool, error)

Jump to

Keyboard shortcuts

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