github.com/wencode/hack@v0.2.9/dl/dl.go (about)

     1  package dl
     2  
     3  type Lib uintptr
     4  
     5  type DLError struct {
     6  	filename string
     7  	errno uintptr
     8  	errstr string
     9  }
    10  
    11  func (e DLError) Error() string {
    12  	return e.filename + ": " + e.errstr
    13  }