Skip to content

Instantly share code, notes, and snippets.

Avatar

ppaanngggg ppaanngggg

  • Shanghai Tianrang.inc
  • 中国
View GitHub Profile
@ppaanngggg
ppaanngggg / kratos_zerolog_sample.go
Last active May 21, 2022
kratos日志框架使用zerelog的例子
View kratos_zerolog_sample.go
package main
import (
"context"
"io"
"os"
"time"
klog "github.com/go-kratos/kratos/v2/log"
"github.com/rs/zerolog"