mirror of
https://github.com/golang/go
synced 2024-11-27 04:01:19 -07:00
14 lines
288 B
Go
14 lines
288 B
Go
|
// Copyright 2019 The Go Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style
|
||
|
// license that can be found in the LICENSE file.
|
||
|
|
||
|
package a
|
||
|
|
||
|
type FArg func(args []string) error
|
||
|
|
||
|
type Command struct {
|
||
|
Name string
|
||
|
Arg1 FArg
|
||
|
Arg2 func(args []string) error
|
||
|
}
|