Ejemplo n.º 1
0
Archivo: env.go Proyecto: ngaut/bmdb
func (e Errno) Error() string {
	s := C.GoString(C.mdb_strerror(C.int(e)))
	if s == "" {
		return fmt.Sprint("mdb errno:", int(e))
	}
	return s
}
Ejemplo n.º 2
0
Archivo: env.go Proyecto: Crest/gomdb
func (e Errno) Error() string {
	return C.GoString(C.mdb_strerror(C.int(e)))
}