address

package
v0.0.0-...-cbaa3f3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorNotFound = "Address not found"
)

Functions

This section is empty.

Types

type Address

type Address struct {
	Id      int64
	RawText string
}

func CreateAddr

func CreateAddr(db *gorp.DbMap, addr string) Address

func GetAddr

func GetAddr(db *gorp.DbMap, addr string) (Address, error)

func GetAddrById

func GetAddrById(db *gorp.DbMap, id int64) (Address, error)

type AddressFields

type AddressFields struct {
	Id        int64
	AddressId int64
	Value     string
	ShortName string
	Type      string
}

Jump to

Keyboard shortcuts

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