package
0.5.0
Repository: https://github.com/gogogofast/gofast.git
Documentation: pkg.go.dev

# Functions

NewBytesResource creates a new BytesResource instance Parameters: - name: the name of the resource - data: the byte array data of the resource Returns: - *BytesResource: a new BytesResource instance.
NewReaderResource creates a new ReaderResource instance Parameters: - name: the name of the resource - in: the io.Reader input source Returns: - *ReaderResource: a new ReaderResource instance.
NewStringResource creates a new StringResource instance Parameters: - name: the name of the resource - data: the string data of the resource Returns: - *StringResource: a new StringResource instance.

# Structs

BytesResource reads resources from a byte array.
ReaderResource reads resources from an io.Reader.
StringResource reads resources from a string.

# Interfaces

Resource A common resource interface is defined to obtain resource flow, read text and so on.