added documentation godoc
fixed unexported consts naming