lexus

package
v0.0.0-...-2a31844 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lexus

type Lexus struct {
	// contains filtered or unexported fields
}

func NewCar

func NewCar(name string, price float64, discount float64, color string) *Lexus

NewCar contructure

func (Lexus) Color

func (l Lexus) Color() string

func (Lexus) Discount

func (l Lexus) Discount() float64

func (Lexus) Name

func (l Lexus) Name() string

func (Lexus) Price

func (l Lexus) Price() float64

Jump to

Keyboard shortcuts

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