golang: fix language type recognition