examples
examples copied to clipboard
Examples of Kratos framework
module [go.opentelemetry.io/otel/exporters/jaeger](https://pkg.go.dev/go.opentelemetry.io/otel/exporters/jaeger) is deprecated and no longer supported. Migrate it to [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://pkg.go.dev/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc)
```go if _, e := u.cardRepo.CreateCard(ctx, id); err != nil { return e } ``` Will always commit the transaction even `CreateCard` method is failed. It seems to be wrong.
To upgrade to obtain new features, you can use casbinM.WithAutoLoadPolicy(true, 5*time.Second),
怎么单独为某个方法响应xml格式?
realtimemap module admin.proto file is not exist, and the .pb.go file syntax is error ,not defined Position and file_geo_proto_init