Closed RasyidUFA closed 7 years ago
All functions of the API must be exported so that it can be used by other programs.
An identifier may be exported to permit access to it from another package. from : https://golang.org/ref/spec#Exported_identifiers
And for Loklak object field name. in order to use it, we must export it too.
Loklak
When importing a package, you can refer only to its exported names. Any "unexported" names are not accessible from outside the package.
@mariobehling, @sudheesh001 ping
Why is there a convention change ? from abcDef to AbcDef ? It makes sense to do this to the field names but not to the methods and functions.
abcDef
AbcDef
All functions of the API must be exported so that it can be used by other programs.
And for
Loklak
object field name. in order to use it, we must export it too.