model

package
Version: v0.0.0-...-632f8f1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	Id       int
	Name     string
	Gender   string
	Age      int
	PhoneNum string
	Email    string
}

func NewUser

func NewUser(id int, name string, gender string,
	age int, phoneNum string, email string) User

func NewUser2

func NewUser2(name string, gender string,
	age int, phoneNum string, email string) User

func (User) ShowUser

func (this User) ShowUser() string

Source Files

Jump to

Keyboard shortcuts

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