Skip to content

Instantly share code, notes, and snippets.

View kwe92's full-sized avatar
🌍
A man who thinks he can and a man who thinks he can't are both right; Who are u?

Kweayon C. kwe92

🌍
A man who thinks he can and a man who thinks he can't are both right; Who are u?
View GitHub Profile
@asukakenji
asukakenji / go-stdlib-interface-selected.md
Last active August 23, 2024 16:20
Go (Golang) Standard Library Interfaces (Selected)

Go (Golang) Standard Library Interfaces (Selected)

This is not an exhaustive list of all interfaces in Go's standard library. I only list those I think are important. Interfaces defined in frequently used packages (like io, fmt) are included. Interfaces that have significant importance are also included.

All of the following information is based on go version go1.8.3 darwin/amd64.

@rndD
rndD / go_reader_ex.go
Last active September 24, 2023 17:09
A tour of Go: Exercise: Readers
package main
import "code.google.com/p/go-tour/reader"
type MyReader struct{}
func (r MyReader) Read(bytes []byte) (int, error) {
for i := range bytes {
bytes[i] = 65