commit
f5faa72e73
2
tags.go
2
tags.go
@ -5,7 +5,7 @@ import "strings"
|
|||||||
// tagOptions contains a slice of tag options
|
// tagOptions contains a slice of tag options
|
||||||
type tagOptions []string
|
type tagOptions []string
|
||||||
|
|
||||||
// Has returns true if the given optiton is available in tagOptions
|
// Has returns true if the given option is available in tagOptions
|
||||||
func (t tagOptions) Has(opt string) bool {
|
func (t tagOptions) Has(opt string) bool {
|
||||||
for _, tagOpt := range t {
|
for _, tagOpt := range t {
|
||||||
if tagOpt == opt {
|
if tagOpt == opt {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user