Skip to content

Instantly share code, notes, and snippets.

@erickskrauch
erickskrauch / golang_11526_issue.go
Created August 17, 2021 17:14
An example of parser error when using a type alias
package main
import "C"
type CInt = C.int
func (i *CInt) DoSomething() {
println("We can do something")
}
func NewCInt(i int) CInt {