tester

package
v0.0.0-...-b1c1145 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save

func Save(t *testing.T, store gocache.Store, coder gocache.Coder)

Types

type User

type User struct {
	Id    uint   `json:"id"`
	Phone string `json:"phone"`
	Email string `json:"email"`
	Name  string `json:"name"`
}

func (User) CacheExpire

func (u User) CacheExpire() int64

func (User) CacheKey

func (u User) CacheKey() (string, error)

func (User) CacheSubkeys

func (u User) CacheSubkeys() []string

Jump to

Keyboard shortcuts

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