Documentation
¶
Index ¶
Constants ¶
const GoSolcSelect = "0.2.0"
GoSolcSelect The go-solc-select version
const LinuxAmd64 = "linux-amd64"
LinuxAmd64 The name of the operating system for generating a link to the repository with solc compilers for Linux
const MacosxAmd64 = "macosx-amd64"
MacosxAmd64 The name of the operating system for generating a link to the repository with solc compilers for Mac
const OldSolcListUrl = "https://raw.githubusercontent.com/crytic/solc/new-list-json/linux/amd64/list.json"
OldSolcListUrl Url to list of available old Solidity Compilers for Linux platform
const OldSolcUrl = "https://raw.githubusercontent.com/crytic/solc/master/linux/amd64"
OldSolcUrl The initial part of the url to the old Solidity Compiler for Linux platform
const SoliditylangUrl = "https://binaries.soliditylang.org"
SoliditylangUrl Url to repository contains current and historical builds of the Solidity Compiler
const WindowsAmd64 = "windows-amd64"
WindowsAmd64 The name of the operating system for generating a link to the repository with solc compilers for Windows
Variables ¶
var CurrentVersionFilePath = filepath.Join(SolcDir, "global-version")
CurrentVersionFilePath The name of the file that contains the current version
var HomeDir, _ = os.UserHomeDir()
HomeDir Home directory of the current user
var SolcArtifacts = filepath.Join(SolcDir, "artifacts")
SolcArtifacts Directory contains solc compilers
var SolcDir = filepath.Join(HomeDir, ".gsolc-select")
SolcDir Directory contains go-solc-select (app) files
var ValidSemVer, _ = regexp.Compile(`^[\d]+(\.[\d]+){1,2}$`)
ValidSemVer Regular expression for version
Functions ¶
This section is empty.
Types ¶
This section is empty.