Documentation ¶
There is no documentation for this package.
Directories ¶
Path | Synopsis |
---|---|
volume1
|
|
section1/hellogopher
A basic Hello Gopher program.
|
A basic Hello Gopher program. |
section2/conditionals
Examples of conditional logic and impact on the flow of control.
|
Examples of conditional logic and impact on the flow of control. |
section2/declarenumerics
Various examples to declare Go's numeric types.
|
Various examples to declare Go's numeric types. |
section2/funwithfuncs
Various examples of functions in Go.
|
Various examples of functions in Go. |
section2/greetingspackage
Package greetingspackage is a demonstration package to show how to declare a package, create exported/unexported functions in the package, and create an exported variable from the package.
|
Package greetingspackage is a demonstration package to show how to declare a package, create exported/unexported functions in the package, and create an exported variable from the package. |
section2/hellogopheralias
An example of aliasing the fmt package as f.
|
An example of aliasing the fmt package as f. |
section2/lightswitch
An example to model a light switch using a boolean type.
|
An example to model a light switch using a boolean type. |
section2/loopdemo
Various examples of Go's for loop.
|
Various examples of Go's for loop. |
section2/olympicslaonwards
An example of using Go's iota enumerator to model the year and city where the summer Olympics took place.
|
An example of using Go's iota enumerator to model the year and city where the summer Olympics took place. |
section2/personalgreetings
An example of using a command line flag.
|
An example of using a command line flag. |
section2/repeatgreetings
An example of using a command line argument.
|
An example of using a command line argument. |
section2/stringbasics
String examples covering declaration, literal definition, accessing character at value and concatenating strings using the + operator.
|
String examples covering declaration, literal definition, accessing character at value and concatenating strings using the + operator. |
section2/switchdemo
An example of declaring a switch statement.
|
An example of declaring a switch statement. |
section2/trafficlights
An example of declaring a constant grouping with an iota enumerator.
|
An example of declaring a constant grouping with an iota enumerator. |
section2/usegreetings
An example of using functionality from a package.
|
An example of using functionality from a package. |
section2/usernamechecker
A username syntax checker for the GopherFace web application.
|
A username syntax checker for the GopherFace web application. |
section3/declarearrays
Some examples of array declarations and showing how arrays are treated as values in Go.
|
Some examples of array declarations and showing how arrays are treated as values in Go. |
section3/emptyinterfacedemo
An example of an empty interface, and some useful things we can do with it.
|
An example of an empty interface, and some useful things we can do with it. |
section3/mapdemo
An example of building a map having keys representing nations, and values representing the respective nation's capital.
|
An example of building a map having keys representing nations, and values representing the respective nation's capital. |
section3/matrix
An example of a multidimensional array, a 3x4 matrix.
|
An example of a multidimensional array, a 3x4 matrix. |
section3/shapedemo
A demonstration program using the simpleshape package.
|
A demonstration program using the simpleshape package. |
section3/simpleshape
Package simpleshape is a simple interface for representing geometric shapes.
|
Package simpleshape is a simple interface for representing geometric shapes. |
section3/slicedemo
An example showing how to declare a slice and perform various operations using a slice.
|
An example showing how to declare a slice and perform various operations using a slice. |
section3/smpostexample
An example of creating a new instance of a Social Media Post type.
|
An example of creating a new instance of a Social Media Post type. |
section3/socialmedia
Package SocialMedia implements common functionality needed for social media web applications.
|
Package SocialMedia implements common functionality needed for social media web applications. |
section4/bufferedchannel
An example of a buffered channel (asynchronous).
|
An example of a buffered channel (asynchronous). |
section4/channeldemo
An example of sending and receiving a value through a channel.
|
An example of sending and receiving a value through a channel. |
section4/channelrange
An example of ranging over a channel.
|
An example of ranging over a channel. |
section4/goroutinesdemo
An example of a goroutine.
|
An example of a goroutine. |
section4/goroutinesdemowithchannel
An example of using a channel to wait for a goroutine to complete.
|
An example of using a channel to wait for a goroutine to complete. |
section4/goroutinewithdelay
An example of a goroutine with a delay introduced so the goroutine can complete.
|
An example of a goroutine with a delay introduced so the goroutine can complete. |
section4/mutex
An example of solving the data race condition using a mutex.
|
An example of solving the data race condition using a mutex. |
section4/nilakantha
A concurrent computation of pi using Nilakantha's formula.
|
A concurrent computation of pi using Nilakantha's formula. |
section4/racedemo
An example of a data race condition.
|
An example of a data race condition. |
section4/waitgroup
An example of concurrently fetching web site URLs using a WaitGroup.
|
An example of concurrently fetching web site URLs using a WaitGroup. |
section5/socialmedia
Package SocialMedia implements common functionality needed for social media web applications.
|
Package SocialMedia implements common functionality needed for social media web applications. |
volume2
|
|
section1/smptemplate
Simple example of creating and using a template in Go
|
Simple example of creating and using a template in Go |
section1/templatedemo
Simple example of creating and using a template in Go
|
Simple example of creating and using a template in Go |
section2/gopherface/models/socialmedia
Package SocialMedia implements common functionality needed for social media web applications.
|
Package SocialMedia implements common functionality needed for social media web applications. |
section3/gopherfaceform/models/socialmedia
Package SocialMedia implements common functionality needed for social media web applications.
|
Package SocialMedia implements common functionality needed for social media web applications. |
section4/gopherfaceform/models/socialmedia
Package SocialMedia implements common functionality needed for social media web applications.
|
Package SocialMedia implements common functionality needed for social media web applications. |
section5/gopherfacedb/models/socialmedia
Package SocialMedia implements common functionality needed for social media web applications.
|
Package SocialMedia implements common functionality needed for social media web applications. |
section6/gopherfaceauth/models/socialmedia
Package SocialMedia implements common functionality needed for social media web applications.
|
Package SocialMedia implements common functionality needed for social media web applications. |
section7/gopherfaceq/models/socialmedia
Package SocialMedia implements common functionality needed for social media web applications.
|
Package SocialMedia implements common functionality needed for social media web applications. |
volume3
|
|
section4/gopherface/models/socialmedia
Package SocialMedia implements common functionality needed for social media web applications.
|
Package SocialMedia implements common functionality needed for social media web applications. |
section5/gopherface/models/socialmedia
Package SocialMedia implements common functionality needed for social media web applications.
|
Package SocialMedia implements common functionality needed for social media web applications. |
volume4
|
|
section2/gopherface/models/socialmedia
Package SocialMedia implements common functionality needed for social media web applications.
|
Package SocialMedia implements common functionality needed for social media web applications. |
section3/gopherface/models/socialmedia
Package SocialMedia implements common functionality needed for social media web applications.
|
Package SocialMedia implements common functionality needed for social media web applications. |
Click to show internal directories.
Click to hide internal directories.