globals
package v1.3.1
Go to latest Published: Aug 27, 2025 License:GPL-3.0
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:2 Opens a new window with list of imports.
Imported by:0 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
This section is empty.
Variables¶
View Source
var (// MainFileValidExtension is the extension that must be used for files in new sketchesMainFileValidExtension = ".ino"// MainFileValidExtensions lists valid extensions for a sketch fileMainFileValidExtensions = map[string]bool{MainFileValidExtension:true,".pde":true,}// AdditionalFileValidExtensions lists any file extension the builder considers as validAdditionalFileValidExtensions = map[string]bool{".h":true,".c":true,".hpp":true,".hh":true,".cpp":true,".cxx":true,".cc":true,".S":true,".adoc":true,".md":true,".json":true,".tpp":true,".ipp":true,}// SourceFilesValidExtensions lists valid extensions for source files (no headers).// If a platform do not provide a compile recipe for a specific file extension, this// map provides the equivalent extension to use as a fallback.SourceFilesValidExtensions = map[string]string{".c": "",".cpp": "",".cxx": ".cpp",".cc": ".cpp",".S": "",}// HeaderFilesValidExtensions lists valid extensions for header filesHeaderFilesValidExtensions = map[string]bool{".h":true,".hpp":true,".hh":true,}// DefaultIndexURL is the default index urlDefaultIndexURL = "https://downloads.arduino.cc/packages/package_index.tar.bz2"// LibrariesIndexURL is the URL where to get the libraries index.LibrariesIndexURL, _ =url.Parse("https://downloads.arduino.cc/libraries/library_index.tar.bz2")// LibrariesIndexResource is the IndexResource to get the libraries index.LibrariesIndexResource =resources.IndexResource{URL:LibrariesIndexURL,EnforceSignatureVerification:true,})
Functions¶
This section is empty.
Types¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.