model

package
v0.0.0-...-02df9db Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateNewUrl

func GenerateNewUrl() (string, error)

func TestURL

func TestURL(t *testing.T) string

Types

type Url

type Url struct {
	Address      string `json:"address"`
	ShortAddress string `json:"short_address"`
}

func TestFakeModel

func TestFakeModel(t *testing.T) Url

func (*Url) Validate

func (u *Url) Validate() error

Jump to

Keyboard shortcuts

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