mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-15 12:34:44 +00:00
Commit from GitHub Actions (Generate Clients & Examples)
This commit is contained in:
2
examples/cache/get/go/getAValue.go
vendored
2
examples/cache/get/go/getAValue.go
vendored
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/micro/services/clients/go/cache"
|
||||
)
|
||||
|
||||
// Get an item from the cache by key
|
||||
// Get an item from the cache by key. If key is not found, an empty response is returned.
|
||||
func GetAvalue() {
|
||||
cacheService := cache.NewCacheService(os.Getenv("MICRO_API_TOKEN"))
|
||||
rsp, err := cacheService.Get(&cache.GetRequest{
|
||||
|
||||
Reference in New Issue
Block a user