// GetArch validates/returns the current architecture if supported and panics otherwise
GetArch validates/returns the current architecture if supported and panics otherwise
// GetArch validates / returns the current architecture if supported and panics otherwise
func GetArch() string {
	switch runtime.GOARCH {
	case "amd64":
		return "amd64"
	case "arm64":
		return "arm64"
	}
	panic(fmt.Sprintf("unsupported architecture %s", runtime.GOARCH))
}
func GetArch ( ) string { switch runtime . GOARCH { case " " : return " " case " " : return " " } panic ( fmt . Sprintf ( " " , runtime . GOARCH ) ) }
GetArch validates/returns the current architecture if supported and panics otherwise
GetArch validates / returns the current architecture if supported and panics otherwise