github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/cmd/go/internal/list/context.go (about)

     1  // Copyright 2014 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package list
     6  
     7  type Context struct {
     8  	GOARCH        string   `json:",omitempty"`
     9  	GOOS          string   `json:",omitempty"`
    10  	GOROOT        string   `json:",omitempty"`
    11  	GOPATH        string   `json:",omitempty"`
    12  	CgoEnabled    bool     `json:",omitempty"`
    13  	UseAllFiles   bool     `json:",omitempty"`
    14  	Compiler      string   `json:",omitempty"`
    15  	BuildTags     []string `json:",omitempty"`
    16  	ToolTags      []string `json:",omitempty"`
    17  	ReleaseTags   []string `json:",omitempty"`
    18  	InstallSuffix string   `json:",omitempty"`
    19  }