Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Animal ¶
type Animal string
Animal Type Enum
func AnimalOptions ¶
func AnimalOptions() []Animal
func ParseAnimalString ¶
type Car ¶
type Car int
Represents different types of cars.
const ( // A Sedan is a passenger car that usually has // a separate trunk. It's often considered a // comfortable and practical choice for families // and long-distance travel. Car_Sedan Car = 0 // An SUV (Sport Utility Vehicle) combines the // characteristics of a car and an off-road vehicle. // It's popular for its higher ground clearance // and more cargo space, making it suitable for // outdoor activities and urban driving. Car_SUV Car = 1 // A Coupe is a two-door car, typically with a // sporty design. It is known for its sleek and // stylish appearance, though it often has less // rear-seat space compared to a sedan. Car_Coupe Car = 2 )
func CarOptions ¶
func CarOptions() []Car
func ParseCarString ¶
type Fruit ¶
type Fruit int
Fruit Type Enum This enum represents different types of fruits. Each fruit has a unique value and a label in both English and Traditional Chinese. The comment provides additional information about each fruit.
func FruitOptions ¶
func FruitOptions() []Fruit
func ParseFruitString ¶
Click to show internal directories.
Click to hide internal directories.