RSS Amplifier

Go Tutorial - Learn Go from the Basics with Code Examples on golangbot.com · Apr 4, 2017

Packages in Go

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

This tutorial is now deprecated. Please click here for the updated version. Welcome to tutorial number 7 in Golang tutorial series. What are packages and why are they used? So far we have seen go programs which have only one file which has a main function with a couple of other functions. In real world scenarios this approach to writing all source code in a single file will not work. It becomes…

This tutorial is now deprecated. Please click here for the updated version. Welcome to tutorial number 7 in Golang tutorial series. What are packages and why are they used? So far we have seen go programs which have only one file which has a main function with a couple of other functions. In real world scenarios this approach to writing all source code in a single file will not work. It becomes impossible to reuse and maintain code written this way.

Read on golangbot.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.