encoding/json.Encoder.Encode (method, view implemented interface methods)
5 uses
encoding/json (current package)
stream.go#L201: func (enc *Encoder) Encode(v any) error {
go.uber.org/zap
http_handler.go#L90: return enc.Encode(payload{Level: lvl.Level()})
http_handler.go#L96: return enc.Encode(errorResponse{Error: err.Error()})
http_handler.go#L99: return enc.Encode(payload{Level: lvl.Level()})
http_handler.go#L103: return enc.Encode(errorResponse{
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |