I’ve been searching Google up and down, but I can’t find any documentations on Modules and how to write them.
So, My question is, how do you write Modules in Go?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The word module has many different meanings. What is your definition?
Take a look at Go packages. Read How to Write Go Code. Read the Go package documentation. Since Go is open source, look at the Go package source code for examples.