Skip to content

Recipes to build modular, readable, and testable Golang applications across various domains

License

Notifications You must be signed in to change notification settings

PeterOnCode/go-recipes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReadMe of Go Recipes

Recipes to build modular, readable, and testable Golang applications across various domains

Recipes

Complex Types

↪️ Arrays

Go's most basic collections is an array. When you define an array, you must specify what type of data it may contain and how big the array is

I/O and Filesystems

↪️ Using the common I/O interfaces

The Go language provides a number of I/O interfaces that are used throughout the standard library. It is best practice to make use of these interfaces wherever possible rather than passing structures or other types directly.

↪️ Using the bytes and strings packages

The bytes and strings packages have a number of useful helpers to work with and convert the data from string to byte types, and vice versa. They allow the creation of buffers that work with a number of common I/O interfaces.

About

Recipes to build modular, readable, and testable Golang applications across various domains

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages