Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    // goodFunc verifies that the function satisfies the signature, represented as a slice of types.
    // The last type is the single result type; the others are the input types.
    // A final type of nil means any result type is accepted.
    func goodFunc(fn reflect.Value, types ...reflect.Type) bool

Dear god, why?!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: