json_type

package
v0.1.43 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressToJson

func AddressToJson(aa AcbAddress) (rv string, err error)

Types

type AcbAddress

type AcbAddress []AddressEntity

func JsonAddressToData

func JsonAddressToData(in string) (rv AcbAddress, err error)

type AddressEntity

type AddressEntity struct {
	Title      string   `json:"title"`
	Line       []string `json:"line"`
	PostalCode string   `json:"postal_code"` // zip code, zip10 etc.
	State      string   `json:"state"`       // Satate or Province
	Country    string   `json:"country"`
	Memo       string   `json:"memo"`
}

Jump to

Keyboard shortcuts

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