 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
    var ( // BuildOS is the operating system (GOOS) used during the build process. BuildOS string // BuildARM is the ARM version (GOARM) used during the build process. BuildARM string // BuildARCH is the architecture (GOARCH) used during the build process. BuildARCH string )
      View Source
      
  
var ( // TimeoutInSeconds is the timeout the default HTTP client will use. TimeoutInSeconds = 60 // HTTPClient is the client used to make HTTP calls in the cli package. HTTPClient = &http.Client{Timeout: time.Duration(TimeoutInSeconds) * time.Second} // ReleaseURL is the endpoint that provides information about cli releases. ReleaseURL = "https://api.github.com/repos/exercism/cli/releases" )
Functions ¶
This section is empty.
Types ¶
type Asset ¶
type Asset struct {
	ID          int    `json:"id"`
	Name        string `json:"name"`
	ContentType string `json:"content_type"`
}
    Asset is a build for a particular system, uploaded to a GitHub release.
type CLI ¶
CLI is information about the CLI itself.
func (*CLI) IsUpToDate ¶
IsUpToDate compares the current version to that of the latest release.
 Click to show internal directories. 
   Click to hide internal directories.