mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-19 11:36:57 +00:00
Format go code
This commit is contained in:
parent
584ba5c74d
commit
5bf538c5ec
8 changed files with 17 additions and 9 deletions
3
server/cache/memory.go
vendored
3
server/cache/memory.go
vendored
|
@ -1,8 +1,9 @@
|
|||
package cache
|
||||
|
||||
import (
|
||||
"github.com/OrlovEvgeny/go-mcache"
|
||||
"time"
|
||||
|
||||
"github.com/OrlovEvgeny/go-mcache"
|
||||
)
|
||||
|
||||
type MCache struct {
|
||||
|
|
3
server/cache/redis.go
vendored
3
server/cache/redis.go
vendored
|
@ -3,9 +3,10 @@ package cache
|
|||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"time"
|
||||
|
||||
"github.com/redis/go-redis/v9"
|
||||
"github.com/rs/zerolog/log"
|
||||
"time"
|
||||
)
|
||||
|
||||
type RedisCache struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue