go language type safety ai