func Build() uint16 {
	return Get().Build
}
Build gets the build-number on Windows
The calling application must be manifested to get the correct version information.
package osversion
import (
	"fmt"
	"sync"
	"golang.org/x/sys/windows"
)
type OSVersion struct {
	Version      uint32
	MajorVersion uint8
	MinorVersion uint8
	Build        uint16
}
var (
	osv  OSVersion
	once sync.Once
)
func Get() OSVersion {
	once.Do(func() {
		var err error
		osv = OSVersion{}
		osv.Version, err = windows.GetVersion()
		if err != nil {
			panic(err)
		}
		osv.MajorVersion = uint8(osv.Version & 0xFF)
		osv.MinorVersion = uint8(osv.Version >> 8 & 0xFF)
		osv.Build = uint16(osv.Version >> 16)
	})
	return osv
}