Other name in input parser
This commit is contained in:
parent
bd13a0ebe9
commit
431d26db8e
@ -22,9 +22,9 @@ type Input struct {
|
||||
|
||||
func Parse(env *environment.Env) Input {
|
||||
input := input_str(env)
|
||||
return parse(input)
|
||||
return parse_input(input)
|
||||
}
|
||||
func parse(input string) Input {
|
||||
func parse_input(input string) Input {
|
||||
split := strings.Split(string(input), " ")
|
||||
instruction := strings.TrimSpace(split[0])
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user