named

package
v0.0.0-...-73c7131 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package named 命名规则

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type People

type People struct {
	Sex int
	// contains filtered or unexported fields
}

People define a People struct 定义一个人的类型

func (People) Name

func (p People) Name() string

Name get the name of people 获取人的姓名

func (People) SetName

func (p People) SetName(name string) error

SetName get the name of people 设置人的姓名

Jump to

Keyboard shortcuts

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