Return the architecture name in Go nomenclature: amd64 or arm64.
(self)
| 31 | return self.value |
| 32 | |
| 33 | def go_str(self) -> str: |
| 34 | """Return the architecture name in Go nomenclature: amd64 or arm64.""" |
| 35 | if self == Arch.X86_64: |
| 36 | return "amd64" |
| 37 | elif self == Arch.AARCH64: |
| 38 | return "arm64" |
| 39 | else: |
| 40 | raise RuntimeError("unreachable") |
| 41 | |
| 42 | @staticmethod |
| 43 | def host() -> "Arch": |
no outgoing calls
no test coverage detected