Skip to content

Latest commit

 

History

156 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go

Introduction

Examples for using Go and its related-libraries. Please refer to learning notes for learning more.

Projects

Creates arrays and slices. It tries to demo some features of Go in Array.

Notes on using BFG Repo-Cleaner to purge secrets from git history.

Hello world example in beehive.

Binary search over a sorted array.

Finds the largest all-black square inside a binary matrix.

The classic "bulb switcher" problem, solved via perfect squares.

Type switch and Interface cast example.

An Echo middleware that rewrites the response body before it's written.

Splitting a chocolate bar problem.

How do closures work with upper scope variables?

CockroachDB with GORM example.

Introduction to go conditional variables.

Notes on curl usage for JSON and form (multipart) requests.

Troubleshooting notes from a docker-compose MySQL container issue.

Basic Echo web framework example.

Says back everything you say to it.

Comparing values with reflection.

Fibonacci sequence in Go.

Adds some C to Go. 😋

RPC implementation using Go's standard net/rpc package.

A dice-roller example with graphql-go.

HTTP/2 example with Echo.

Example using Uber's H3 geospatial indexing library.

Determines whether a number is a "happy number".

Public vs. private fields, and untyped constants.

Embedding and running Lua from Go with gopher-lua.

Handling multipart form uploads with Echo.

Basic Redis client example.

Example using HashiCorp's HIL interpolation language.

Checks whether a sequence of HTML-like tags is validly nested/closed.

Finds the intersection of two sorted arrays via binary search.

Working with JSON columns in PostgreSQL.

Loading configuration from file with koanf.

Leap year check.

Arithmetic problems (e.g. adding numbers) represented as linked lists.

Length of the longest substring without repeating characters.

A small arithmetic expression calculator.

Searches for a value across rows of a matrix.

Monte-Carlo method for estimating the PI. check here for more information.

A mutex implemented from scratch.

Natural (alphanumeric-aware) string sorting.

Demonstrates the omitempty JSON struct tag.

Finds pairs in a series that sum to a target value.

Notes and example on putting a timeout constraint on a MySQL query.

Streaming example over QUIC.

The reader-writer-problem in Go.

Let's use redis as a cache with MessagePack coding

Regular expression matching examples.

Small string/number transformation exercises.

In the Memory of Roya Taheri.

Prints a matrix of numbers in spiral order.

Basics of the SQLBoiler database-first ORM.

CRUD operations on a userauth table generated with SQLBoiler.

Server-Sent Events example.

Generates all subsets of a set.

Generates all subsets of a set using backtracking.

Example using the Tile38 geospatial database.

A box-stacking / tallest-tower optimization problem.

Sums values reachable in a matrix from a starting cell.

Stackoverflow

Unicode/rune handling example.

Validates a rune sequence against a set of rules.

Finds the largest all-"black" square in a sparse (map-based) grid.

About

Learning Go and its packages

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages