place

package
Version: v0.0.0-...-a7a9960 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2015 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Place

type Place struct {
	Id      int
	Name    types.Name
	Address types.Address
	// contains filtered or unexported fields
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(sqler db.SQLer) Service

func (Service) FindAll

func (s Service) FindAll() ([]Place, error)

func (Service) FindById

func (s Service) FindById(id int) (Place, error)

func (Service) Save

func (s Service) Save(ip net.IP, agent int, p *Place) error

Jump to

Keyboard shortcuts

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