type go.uber.org/zap/buffer.Buffer
37 uses
go.uber.org/zap/buffer (current package)
buffer.go#L35: type Buffer struct {
buffer.go#L41: func (b *Buffer) AppendByte(v byte) {
buffer.go#L46: func (b *Buffer) AppendBytes(v []byte) {
buffer.go#L51: func (b *Buffer) AppendString(s string) {
buffer.go#L56: func (b *Buffer) AppendInt(i int64) {
buffer.go#L61: func (b *Buffer) AppendTime(t time.Time, layout string) {
buffer.go#L67: func (b *Buffer) AppendUint(i uint64) {
buffer.go#L72: func (b *Buffer) AppendBool(v bool) {
buffer.go#L78: func (b *Buffer) AppendFloat(f float64, bitSize int) {
buffer.go#L83: func (b *Buffer) Len() int {
buffer.go#L88: func (b *Buffer) Cap() int {
buffer.go#L93: func (b *Buffer) Bytes() []byte {
buffer.go#L98: func (b *Buffer) String() string {
buffer.go#L104: func (b *Buffer) Reset() {
buffer.go#L109: func (b *Buffer) Write(bs []byte) (int, error) {
buffer.go#L118: func (b *Buffer) WriteByte(v byte) error {
buffer.go#L127: func (b *Buffer) WriteString(s string) (int, error) {
buffer.go#L133: func (b *Buffer) TrimNewline() {
buffer.go#L144: func (b *Buffer) Free() {
pool.go#L29: p *pool.Pool[*Buffer]
pool.go#L35: p: pool.New(func() *Buffer {
pool.go#L36: return &Buffer{
pool.go#L44: func (p Pool) Get() *Buffer {
pool.go#L51: func (p Pool) put(buf *Buffer) {
go.uber.org/zap/internal/stacktrace
stack.go#L149: b *buffer.Buffer
stack.go#L154: func NewFormatter(b *buffer.Buffer) Formatter {
go.uber.org/zap/zapcore
console_encoder.go#L70: func (c consoleEncoder) EncodeEntry(ent Entry, fields []Field) (*buffer.Buffer, error) {
console_encoder.go#L132: func (c consoleEncoder) writeContext(line *buffer.Buffer, extra []Field) {
console_encoder.go#L153: func (c consoleEncoder) addSeparatorIfNecessary(line *buffer.Buffer) {
encoder.go#L450: EncodeEntry(Entry, []Field) (*buffer.Buffer, error)
json_encoder.go#L56: buf *buffer.Buffer
json_encoder.go#L61: reflectBuf *buffer.Buffer
json_encoder.go#L361: func (enc *jsonEncoder) EncodeEntry(ent Entry, fields []Field) (*buffer.Buffer, error) {
json_encoder.go#L490: (*buffer.Buffer).AppendString,
json_encoder.go#L500: (*buffer.Buffer).AppendBytes,
json_encoder.go#L511: appendTo func(*buffer.Buffer, S),
json_encoder.go#L515: buf *buffer.Buffer,
|
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. |