// Copyright 2009 The Go Authors. All rights reserved.// Use of this source code is governed by a BSD-style// license that can be found in the LICENSE file.// +build windowspackagewindowsfuncitoa(valint)string{// do it here rather than with fmt to avoid dependencyifval<0{return"-"+itoa(-val)}varbuf[32]byte// big enough for int64i:=len(buf)-1forval>=10{buf[i]=byte(val%10+'0')i--val/=10}buf[i]=byte(val+'0')returnstring(buf[i:])}