city

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

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