domain

package
v0.0.0-...-29a8be6 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	ID string
}

Base contains commons properties

type Person

type Person struct {
	Base
	Name string
}

Person is an entity of domain

func NewPerson

func NewPerson(name string) Person

NewPerson make a new instance of Person

func (Person) Speak

func (person Person) Speak(anything string)

Speak make a peaple say something

Jump to

Keyboard shortcuts

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