Refactor
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
parent
590109b425
commit
a28e1cb7a0
7 changed files with 40 additions and 26 deletions
|
@ -23,7 +23,9 @@ var linksCmd = &cobra.Command{
|
|||
|
||||
zets := zet.SearchZets(args[0])
|
||||
|
||||
lines := zet.ParseZetList(zets)
|
||||
zetList := zet.CreateZetList(zets)
|
||||
|
||||
lines := zetList.Parse()
|
||||
|
||||
for _, line := range lines {
|
||||
line = strings.TrimSpace(line)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue