models

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StartingStreetNumber = 1
)

Variables

View Source
var (
	EmptyVariable, AnotherEmptyVariable string
	A, B                                = "1", 2
	PackageVariable                     = "Teststreet"
	AnotherPackageVariable              = "Anotherteststreet"
)

Functions

This section is empty.

Types

type Address

type Address struct {
	A, B          string
	Street        string
	City          string
	PostalCode    string
	Country       string
	CustomChannel chan string
	AnInterface   *interface{}
}

func (Address) FullAddress

func (address Address) FullAddress(withPostalCode bool) string

type AddressLike added in v1.1.7

type AddressLike interface {
	FullAddress(withPostalCode bool) string
}

Jump to

Keyboard shortcuts

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