Source file src/cmd/vet/testdata/composite/a/a.go

     1  // Copyright 2026 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  package a
     5  
     6  // A Flag represents the state of a flag.
     7  type Flag struct {
     8  	Name     string // name as it appears on command line
     9  	Usage    string // help message
    10  	Value    any    // value as set
    11  	DefValue string // default value (as text); for usage message
    12  }
    13  

View as plain text