ExampleRedis

package
v0.17.6 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheExample added in v0.17.0

func CacheExample()

CacheExample Redis 缓存用法示例入口(本包非 main 包,故不使用 main 命名)

func Redis

func Redis()

Types

type User added in v0.10.2

type User struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
	Age  int    `json:"age"`
}

User 用户结构体示例

Jump to

Keyboard shortcuts

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