O'Reilly logo

Web Development with Go: Building Scalable Web Apps and RESTful Services by Shiju Varghese

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 3

image

User-Defined Types and Concurrency

The type system is one of the most important features of a programming language; types allow you to organize and store your application data. When choosing a programming language, it is important to take its type system into consideration. Go enforces simplicity throughout the language design.

Go is a static type language in which you can use built-in types and user-defined types for storing application data. Go provides several built-in types, such as int, float64, string, and bool. Chapter 2 discussed arrays, slices, and maps, which are the composite types made up of other types using built-in types ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required