From 2be3a82f3a801a84c98a4de9c818ce8b0497135b Mon Sep 17 00:00:00 2001 From: Slack Coder Date: Wed, 18 Oct 2023 17:27:00 -0500 Subject: move todos to project root --- vendor/github.com/pborman/getopt/v2/string.go | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 vendor/github.com/pborman/getopt/v2/string.go (limited to 'vendor/github.com/pborman/getopt/v2/string.go') diff --git a/vendor/github.com/pborman/getopt/v2/string.go b/vendor/github.com/pborman/getopt/v2/string.go deleted file mode 100644 index cab5733..0000000 --- a/vendor/github.com/pborman/getopt/v2/string.go +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2017 Google Inc. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package getopt - -// String returns a value option that stores is value as a string. The -// initial value of the string is passed in value. -func String(name rune, value string, helpvalue ...string) *string { - CommandLine.Flag(&value, name, helpvalue...) - return &value -} - -func (s *Set) String(name rune, value string, helpvalue ...string) *string { - s.Flag(&value, name, helpvalue...) - return &value -} - -func StringLong(name string, short rune, value string, helpvalue ...string) *string { - CommandLine.FlagLong(&value, name, short, helpvalue...) - return &value -} - -func (s *Set) StringLong(name string, short rune, value string, helpvalue ...string) *string { - s.FlagLong(&value, name, short, helpvalue...) - return &value -} -- cgit v1.2.3