#error using func from another package

10 messages · Page 1 of 1 (latest)

ancient agate
upper lily
#

In order to use functions, variables, types, whatever from another package, they must be exported

#

In Go symbols are exported simple by uppercaseing the first character

spiral zodiac
#

everything you want to access in another package needs to be capitalized

upper lily
#

any lowercased symbols will be private and only accessible in the current package

ancient agate
#

It is really weird