User Tools

Site Tools


Table of Contents

strings

  • type Builder
    • func (b *Builder) Cap() int
    • func (b *Builder) Grow(n int)
    • func (b *Builder) Len() int
    • func (b *Builder) Reset()
    • func (b *Builder) String() string
    • func (b *Builder) Write(p []byte) (int, error)
    • func (b *Builder) WriteByte(c byte) error
    • func (b *Builder) WriteRune(r rune) (int, error)
    • func (b *Builder) WriteString(s string) (int, error)
  • type Reader
    • func NewReader(s string) *Reader
    • func (r *Reader) Len() int
    • func (r *Reader) Read(b []byte) (n int, err error)
    • func (r *Reader) ReadAt(b []byte, off int64) (n int, err error)
    • func (r *Reader) ReadByte() (byte, error)
    • func (r *Reader) ReadRune() (ch rune, size int, err error)
    • func (r *Reader) Reset(s string)
    • func (r *Reader) Seek(offset int64, whence int) (int64, error)
    • func (r *Reader) Size() int64
    • func (r *Reader) UnreadByte() error
    • func (r *Reader) UnreadRune() error
    • func (r *Reader) WriteTo(w io.Writer) (n int64, err error)

bytes

  • type Buffer
    • func NewBuffer(buf []byte) *Buffer
    • func NewBufferString(s string) *Buffer
    • func (b *Buffer) Bytes() []byte
    • func (b *Buffer) Cap() int
    • func (b *Buffer) Grow(n int)
    • func (b *Buffer) Len() int
    • func (b *Buffer) Next(n int) []byte
    • func (b *Buffer) Read(p []byte) (n int, err error)
    • func (b *Buffer) ReadByte() (byte, error)
    • func (b *Buffer) ReadBytes(delim byte) (line []byte, err error)
    • func (b *Buffer) ReadFrom(r io.Reader) (n int64, err error)
    • func (b *Buffer) ReadRune() (r rune, size int, err error)
    • func (b *Buffer) ReadString(delim byte) (line string, err error)
    • func (b *Buffer) Reset()
    • func (b *Buffer) String() string
    • func (b *Buffer) Truncate(n int)
    • func (b *Buffer) UnreadByte() error
    • func (b *Buffer) UnreadRune() error
    • func (b *Buffer) Write(p []byte) (n int, err error)
    • func (b *Buffer) WriteByte(c byte) error
    • func (b *Buffer) WriteRune(r rune) (n int, err error)
    • func (b *Buffer) WriteString(s string) (n int, err error)
    • func (b *Buffer) WriteTo(w io.Writer) (n int64, err error)
  • type Reader
    • func NewReader(b []byte) *Reader
    • func (r *Reader) Len() int
    • func (r *Reader) Read(b []byte) (n int, err error)
    • func (r *Reader) ReadAt(b []byte, off int64) (n int, err error)
    • func (r *Reader) ReadByte() (byte, error)
    • func (r *Reader) ReadRune() (ch rune, size int, err error)
    • func (r *Reader) Reset(b []byte)
    • func (r *Reader) Seek(offset int64, whence int) (int64, error)
    • func (r *Reader) Size() int64
    • func (r *Reader) UnreadByte() error
    • func (r *Reader) UnreadRune() error
    • func (r *Reader) WriteTo(w io.Writer) (n int64, err error)

os

  • type File
  • func Create(name string) (*File, error)
  • func CreateTemp(dir, pattern string) (*File, error)
  • func NewFile(fd uintptr, name string) *File
  • func Open(name string) (*File, error)
  • func OpenFile(name string, flag int, perm FileMode) (*File, error)
  • func (f *File) Chdir() error
  • func (f *File) Chmod(mode FileMode) error
  • func (f *File) Chown(uid, gid int) error
  • func (f *File) Close() error
  • func (f *File) Fd() uintptr
  • func (f *File) Name() string
  • func (f *File) Read(b []byte) (n int, err error)
  • func (f *File) ReadAt(b []byte, off int64) (n int, err error)
  • func (f *File) ReadDir(n int) ([]DirEntry, error)
  • func (f *File) ReadFrom(r io.Reader) (n int64, err error)
  • func (f *File) Readdir(n int) ([]FileInfo, error)
  • func (f *File) Readdirnames(n int) (names []string, err error)
  • func (f *File) Seek(offset int64, whence int) (ret int64, err error)
  • func (f *File) SetDeadline(t time.Time) error
  • func (f *File) SetReadDeadline(t time.Time) error
  • func (f *File) SetWriteDeadline(t time.Time) error
  • func (f *File) Stat() (FileInfo, error)
  • func (f *File) Sync() error
  • func (f *File) SyscallConn() (syscall.RawConn, error)
  • func (f *File) Truncate(size int64) error
  • func (f *File) Write(b []byte) (n int, err error)
  • func (f *File) WriteAt(b []byte, off int64) (n int, err error)
  • func (f *File) WriteString(s string) (n int, err error)

bufio

  • type Reader
    • func NewReader(rd io.Reader) *Reader
    • func NewReaderSize(rd io.Reader, size int) *Reader
    • func (b *Reader) Buffered() int
    • func (b *Reader) Discard(n int) (discarded int, err error)
    • func (b *Reader) Peek(n int) ([]byte, error)
    • func (b *Reader) Read(p []byte) (n int, err error)
    • func (b *Reader) ReadByte() (byte, error)
    • func (b *Reader) ReadBytes(delim byte) ([]byte, error)
    • func (b *Reader) ReadLine() (line []byte, isPrefix bool, err error)
    • func (b *Reader) ReadRune() (r rune, size int, err error)
    • func (b *Reader) ReadSlice(delim byte) (line []byte, err error)
    • func (b *Reader) ReadString(delim byte) (string, error)
    • func (b *Reader) Reset(r io.Reader)
    • func (b *Reader) Size() int
    • func (b *Reader) UnreadByte() error
    • func (b *Reader) UnreadRune() error
    • func (b *Reader) WriteTo(w io.Writer) (n int64, err error)
  • type Scanner
    • func NewScanner(r io.Reader) *Scanner
    • func (s *Scanner) Buffer(buf []byte, max int)
    • func (s *Scanner) Bytes() []byte
    • func (s *Scanner) Err() error
    • func (s *Scanner) Scan() bool
    • func (s *Scanner) Split(split SplitFunc)
    • func (s *Scanner) Text() string
  • type SplitFunc
  • type Writer
    • func NewWriter(w io.Writer) *Writer
    • func NewWriterSize(w io.Writer, size int) *Writer
    • func (b *Writer) Available() int
    • func (b *Writer) Buffered() int
    • func (b *Writer) Flush() error
    • func (b *Writer) ReadFrom(r io.Reader) (n int64, err error)
    • func (b *Writer) Reset(w io.Writer)
    • func (b *Writer) Size() int
    • func (b *Writer) Write(p []byte) (nn int, err error)
    • func (b *Writer) WriteByte(c byte) error
    • func (b *Writer) WriteRune(r rune) (size int, err error)
    • func (b *Writer) WriteString(s string) (int, error)