Exemplo n.º 1
0
Arquivo: env.go Projeto: 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
}
Exemplo n.º 2
0
Arquivo: env.go Projeto: Crest/gomdb
func (e Errno) Error() string {
	return C.GoString(C.mdb_strerror(C.int(e)))
}