gofullstack

command module
v0.0.0-...-d41341d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2018 License: BSD-3-Clause Imports: 1 Imported by: 0

README

Web Programming with Go by Kamesh Balasubramanian

This is the official source code repository for the Web Programming with Go video series published by Packt. The video series teaches you how to develop full stack web applications using the Go programming language.

Volume 1: Go Essentials for Full Stack Web Development

In this video course, we start out by introducing you to programming with Go. We will show you how to install Go and how to configure your workspace and development environment. We will move on to demonstrate basic Go concepts, to provide you with a strong foundation. We will explore arrays, slices, maps and user-defined types. Moving on, we will take a look at Go's built-in concurrency constructs and introduce you to several tools included with Go. We will finish the video course by implementing a simple web server using Go.

ISBN: 9781788398916

Take the Video Course:
Volume 2: Back-End Web Development using Go

In this video course, we will cover back-end web development using Go. We start off by covering essential concepts which include web templates, the model view controller pattern, managing requests and responses, and building web forms. We also show you how to create real-world solutions such as uploading image/video files, implementing a datastore for a variety of databases (relational, document, and in-memory), creating secure cookies, implementing authentication middleware, and implementing an asynchronous task queue to perform long-running tasks in the background.

ISBN: 9781788392761

Take the Video Course:
Volume 3: Front-End Web Development using Go

In this video course, we will provide deep insight into front-end web development using Go. We start off by covering the fundamental mechanics of front-end web development such as performing common DOM operations, accessing native JavaScript functionality, making XHR calls, rendering templates on the client-side, transmitting Gob encoded data, and communicating over a WebSocket connection. We also show you how to make your Go programs interoperable with JavaScript and how to read and write to the web browser’s local storage. We then demonstrate how to create a Single Page Application by implementing client-side routing and directly rendering templates in the web browser itself. Utilizing the valuable knowledge presented in this course, you will be taught how to build GopherFace, a fully functioning Social Media website with incredible features.

ISBN: 9781787280946

Take the Video Course:
Volume 4: Go Production Deployments

In this video course, we will show you how to deploy a full-stack Go application to a cloud-based production environment. We start off by showing you how to provision a virtual server instance on the Linode cloud, install MySQL and Nginx, and obtain and install a free SSL certificate from Let's Encrypt. We introduce you to Linode, a major cloud provider of virtual private servers. Then you’ll learn how to cross-compile a Go application, prepare and deploy a production deployment bundle, and turn a Go application into a system service. Moving on, you’ll find out how to dockerize a Go application and use the Docker Compose tool to define and run a multi-container Docker application. Finally, you’ll see how to turn a dockerized Go application into a system service.

ISBN: 9781788399340

Take the Video Course:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
volume1
section1/hellogopher command
A basic Hello Gopher program.
A basic Hello Gopher program.
section2/conditionals command
Examples of conditional logic and impact on the flow of control.
Examples of conditional logic and impact on the flow of control.
section2/declarenumerics command
Various examples to declare Go's numeric types.
Various examples to declare Go's numeric types.
section2/funwithfuncs command
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 command
An example of aliasing the fmt package as f.
An example of aliasing the fmt package as f.
section2/lightswitch command
An example to model a light switch using a boolean type.
An example to model a light switch using a boolean type.
section2/loopdemo command
Various examples of Go's for loop.
Various examples of Go's for loop.
section2/olympicslaonwards command
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 command
An example of using a command line flag.
An example of using a command line flag.
section2/repeatgreetings command
An example of using a command line argument.
An example of using a command line argument.
section2/stringbasics command
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 command
An example of declaring a switch statement.
An example of declaring a switch statement.
section2/trafficlights command
An example of declaring a constant grouping with an iota enumerator.
An example of declaring a constant grouping with an iota enumerator.
section2/usegreetings command
An example of using functionality from a package.
An example of using functionality from a package.
section2/usernamechecker command
A username syntax checker for the GopherFace web application.
A username syntax checker for the GopherFace web application.
section3/declarearrays command
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 command
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 command
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 command
An example of a multidimensional array, a 3x4 matrix.
An example of a multidimensional array, a 3x4 matrix.
section3/shapedemo command
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 command
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 command
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 command
An example of a buffered channel (asynchronous).
An example of a buffered channel (asynchronous).
section4/channeldemo command
An example of sending and receiving a value through a channel.
An example of sending and receiving a value through a channel.
section4/channelrange command
An example of ranging over a channel.
An example of ranging over a channel.
section4/goroutinesdemo command
An example of a goroutine.
An example of a goroutine.
section4/goroutinesdemowithchannel command
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 command
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 command
An example of solving the data race condition using a mutex.
An example of solving the data race condition using a mutex.
section4/nilakantha command
A concurrent computation of pi using Nilakantha's formula.
A concurrent computation of pi using Nilakantha's formula.
section4/racedemo command
An example of a data race condition.
An example of a data race condition.
section4/waitgroup command
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 command
Simple example of creating and using a template in Go
Simple example of creating and using a template in Go
section1/templatedemo command
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
section1/basics command
section3 command
section3/client command
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL