On Wednesday, September 14, 2016 at 3:17:19 PM UTC+3, viljo...@gmail.com wrote: > > Hi, > > To start off I'm fairly new to Go, I would just like to know the following: > > If I make changes similar to yours in common.go, how would I be able to > make use of them in my main package. > > For example in my common.go file I added the following > ==== common.go ==== > func returnCiphers() []string { > return supportedCiphers > } > > In my main package, how will I call it as the following does not seem to > work: > ==== main.go ==== > fmt.Println(ssh.returnCiphers()) > > Assistance will greatly be appreciated. > >> >> Your function name starts with lower case character which means that it is not exported.
ain -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.