# go-cache **Repository Path**: JxGolibs/go-cache ## Basic Information - **Project Name**: go-cache - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-30 - **Last Updated**: 2025-12-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # go-cache This project encapsulates multiple db servers, redis、ledis、memcache、file、memory、nosql、postgresql example ``` package main import ( "gitee.com/JxGolibs/go-cache" _ "gitee.com/JxGolibs/go-cache/redis" ) func main() { ca, err := cache.Cacher(cache.Options{ Adapter: "redis", AdapterConfig: "addr=127.0.0.1:6379", OccupyMode: true, }) if err != nil { panic(err) } ca.Put("liyan", "cache", 60) } ```