
The reflect package isn't supported yet. But at least the Go parser/typechecker can now deal with it.
16 строки
229 Б
Go
16 строки
229 Б
Go
package runtime
|
|
|
|
type Func struct {
|
|
}
|
|
|
|
func FuncForPC(pc uintptr) *Func {
|
|
return nil
|
|
}
|
|
|
|
func (f *Func) Name() string {
|
|
return ""
|
|
}
|
|
|
|
func Caller(skip int) (pc uintptr, file string, line int, ok bool) {
|
|
return 0, "", 0, false
|
|
}
|