mirror of
https://github.com/opbnq-q/nto-cli.git
synced 2025-12-06 19:30:33 +07:00
feat: getting struct fields
This commit is contained in:
9
cmd/input.go
Normal file
9
cmd/input.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package input
|
||||
|
||||
import "fmt"
|
||||
|
||||
func Input() (string, string) {
|
||||
var structName, path string
|
||||
fmt.Scan(&structName, &path)
|
||||
return structName, path
|
||||
}
|
||||
Reference in New Issue
Block a user