mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 22:55:06 +03:00
Don't output on 'set'
This commit is contained in:
parent
1072012eed
commit
83544a9b29
1 changed files with 0 additions and 3 deletions
|
@ -139,9 +139,6 @@ func main() {
|
|||
case "set":
|
||||
name := flags[len(flags)-2:][0]
|
||||
value := flags[len(flags)-1:][0]
|
||||
|
||||
fmt.Println(name, value, item)
|
||||
|
||||
switch item.Kind() {
|
||||
case reflect.Struct:
|
||||
field := item.FieldByName(name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue