Skip to content

Commit

Permalink
docs: fix usage example - 2 returns
Browse files Browse the repository at this point in the history
GetInfo returns 2 values.
  • Loading branch information
abdennour authored Dec 8, 2021
1 parent da2e3fa commit c1c9fdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ get freebsd information
)

func main() {
gi := goInfo.GetInfo()
gi, _ := goInfo.GetInfo()
gi.VarDump()
}
}
Expand Down

0 comments on commit c1c9fdd

Please sign in to comment.