view

package
v0.0.0-...-3e0463f Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {
	Line     string
	City     string
	Region   string
	Country  string
	MailCode string
}

type Customer

type Customer struct {
	ID        int
	FirstName string
	LastName  string
	Address   Address
}

type View

type View struct{}

View provides the view

func NewView

func NewView() *View

NewView constructs a view

func (View) RenderCustomer

func (v View) RenderCustomer(c Customer)

RenderCustomer

Jump to

Keyboard shortcuts

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