command
module
Version:
v0.0.0-...-5fc72c9
Opens a new window with list of versions in this module.
Published: Jul 15, 2023
License: BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
How to
go install github.com/iwdgo/processorfeatures/setprocessor@latest
$(go env GOPATH)/bin/setprocessor # display value
go env -w $(setprocessor) # sets go environment variables
export $(setprocessor) # sets shell variables
Examples:
- amd64 :
GOAMD64=v3
- arm64 :
GOARCH=arm64 GOARM=
- arm :
GOARCH=arm GOARM=7
or default GOARCH=arm GOARM=6
- or
not implemented
Documentation
¶
package setprocessor returns processor variables in the format of go env
Source Files
¶
Click to show internal directories.
Click to hide internal directories.