go wrapper over the c library