package
0.0.0-20240604135122-5b54e205b4f4
Repository: https://github.com/pebbe/howtogo.git
Documentation: pkg.go.dev

# README

If you have this:

type MyType int

You can't do this:

a := []int{1, 2, 3}
b := []MyType(a)

Instead, you have to do this:

a := []int{1, 2, 3}
b := make([]MyType, len(a))
for i, v := range a {
    b[i] = MyType(v)
}

See https://github.com/golang/go/issues/20621

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author