person

package
v0.0.0-...-2422260 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 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 Student

type Student struct {
	Age int
	// contains filtered or unexported fields
}

func (*Student) GetAge

func (s *Student) GetAge() int

获取age

func (*Student) GetName

func (s *Student) GetName() string

获取 name

func (*Student) SetAge

func (s *Student) SetAge(newName int)

设置age

func (*Student) SetName

func (s *Student) SetName(newName string)

设置 name

Jump to

Keyboard shortcuts

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