12 lines
149 B
Go
12 lines
149 B
Go
|
package main
|
||
|
|
||
|
func Match(name string) bool {
|
||
|
return name == "string"
|
||
|
}
|
||
|
|
||
|
func Check(value interface{}) bool {
|
||
|
_, OK := value.(string)
|
||
|
|
||
|
return OK
|
||
|
}
|