placetypes

package module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: BSD-3-Clause Imports: 4 Imported by: 2

README

go-sfomuseum-placetypes

Go package for working with Who's On First placetypes in a SFO Museum context.

Important

This is work in progress and may still change in substantial ways. It is also dependent on a non-stable branch (compile) of the go-whosonfirst-placetypes package.

See also

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewSFOMuseumDefinition added in v0.0.2

func NewSFOMuseumDefinition(ctx context.Context, uri string) (wof_placetypes.Definition, error)

func SFOMuseumPlacetypeSpecification

func SFOMuseumPlacetypeSpecification() (*wof_placetypes.WOFPlacetypeSpecification, error)

Types

type SFOMuseumDefinition added in v0.0.2

type SFOMuseumDefinition struct {
	wof_placetypes.Definition
	// contains filtered or unexported fields
}

func (*SFOMuseumDefinition) Property added in v0.0.2

func (s *SFOMuseumDefinition) Property() string

func (*SFOMuseumDefinition) Specification added in v0.0.2

func (*SFOMuseumDefinition) URI added in v0.0.2

func (s *SFOMuseumDefinition) URI() string

type SFOMuseumPlacetypeRecord added in v0.0.2

type SFOMuseumPlacetypeRecord struct {
	Id           int64             `json:"sfomuseum:id"`
	Name         string            `json:"sfomuseum:name"`
	Role         string            `json:"sfomuseum:role"`
	Label        string            `json:"sfomuseum:label"`
	Parent       []string          `json:"sfomuseum:parent"`
	Concordances map[string]string `json:"sfomuseum:concordances"`
}

Directories

Path Synopsis
cmd
sfom-placetype command

Jump to

Keyboard shortcuts

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