city

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated from Pkl module `union`. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type City

type City string

City; e.g. where people live

const (
	SanFrancisco City = "San Francisco"
	London       City = "London"
	N上海          City = "上海"
)

func (City) String

func (rcv City) String() string

String returns the string representation of City

func (*City) UnmarshalBinary

func (rcv *City) UnmarshalBinary(data []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler for City.

Jump to

Keyboard shortcuts

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