Skip to content

No documentation found when trying to look up go-sdl function. #21

@lazyhacker

Description

@lazyhacker
package main                                                                    
                                                                                
import (                                                                        
    "log"                                                                       
                                                                                
    "github.com/veandco/go-sdl2/sdl"                                            
)                                                                               
                                                                                
func main() {                                                                   
    err := sdl.Init(sdl.INIT_EVERYTHING)                                        
    if err != nil {                                                             
        log.Fatalf("Unable to init SDL")                                        
    }                                                                           
    defer sdl.Quit()                                                                                                                                        
}

$gogetdoc -pos main.go:#95 // the Init call

It returns an error: $GOPATH/src/github.com/veandco/go-sdl2/sdl/yuv_sw_c.go:17:16: undeclared name: Surface gogetdoc: no documentation found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions