Exemple #1
0
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
}
Exemple #2
0
func (e Errno) Error() string {
	return C.GoString(C.mdb_strerror(C.int(e)))
}