mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-28 23:31:47 +02:00
add go-redis-mysql sample
This commit is contained in:
parent
638c159abd
commit
e095209697
384 changed files with 233601 additions and 0 deletions
15
go-mysql-redis/vendor/gopkg.in/redis.v5/internal/log.go
generated
vendored
Normal file
15
go-mysql-redis/vendor/gopkg.in/redis.v5/internal/log.go
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
package internal
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
)
|
||||
|
||||
var Logger *log.Logger
|
||||
|
||||
func Logf(s string, args ...interface{}) {
|
||||
if Logger == nil {
|
||||
return
|
||||
}
|
||||
Logger.Output(2, fmt.Sprintf(s, args...))
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue