315 Resources
Golang litestream-read-replica-example Libraries
An example of using Litestream's live read replication feature.
Litestream Read Replica Example This repository is an example of how to setup and deploy a multi-node SQLite database using Litestream's live read rep
A db proxy for distributed transaction, read write splitting and sharding! Support any language! It can be deployed as a sidecar in a pod.
DBPack DBPack means a database cluster tool pack. It can be deployed as a sidecar in a pod, it shields complex basic logic, so that business developme
Read the text of memes, then inject that text into the image as searchable metadata.
Make Meme Text Searchable I have an extensive set of memes I've been collecting since the early days of Flickr. #icanhascheeseburger It's a pain in th
A Go package to allow you to read and write from the serial port as a stream of bytes.
Serial A Go package to allow you to read and write from the serial port as a stream of bytes. Details It aims to have the same API on all platforms, i
Minimal working example showing how to upload file to S3 bucket.
S3-upload-file Minimal working example showing how to upload file to S3 bucket. Usage Run the following command: docker-compose up A web server and a
Example usage of github.com/go-webauthn/webauthn
Example This is an example go + React application which shows off the functionality of the github.com/go-webauthn/webauthn library. Features This proj
This is the code example how to use SQL to query data from any relational databases in Go programming language.
Go with SQL example This is the code example how to use SQL to query data from any relational databases in Go programming language. To start, please m
Livegollection-example-app - A simple web-chat app that demonstrates how the Golang livegollection library can be used for live data synchronization
livegollection-example-app livegollection-example-app is a simple web-chat app t
Terraform-house - Golang Based terraform automation example using tf.json
Terraform House Manage your own terraform workflow using go language, with the b
Aws-cdk-go-examples - Example projects using the AWS CDK by Golang
aws-cdk-go-examples Example projects using the AWS CDK by Golang Useful commands
Pulumi-k8s-operator-example - OpenGitOps Compliant Pulumi Kubernetes Operator Example
Pulumi GitOps Example OpenGitOps Compliant Pulumi Kubernetes Operator Example Pr
Litestream-read-replica-demo - A demo application for running live read replication on fly.io with Litestream
Litestream Read Replica Demo A demo application for running live read replicatio
Hntoebook - Converts the best HN stories to .mobi format to be read using an e-reader
HN to E-Book What? This program converts the best HN stories to .mobi format to
Kubelet-bench - Example Go-based e2e benchmark for various Kubelet operations without spinning up whole K8s cluster
kubelet-bench An example of Go based e2e benchmark for various Kubelet operation
Godart - Amazon Alexa skill in Go to read train times out loud
GODART Alexa skill to have DART times for the requested station. build and deplo
Orders - An example of gin contains many useful features
Go Gin Example An example of gin contains many useful features 简体中文 Installation
An example module for k6.io to get a cognito access token using USER_SRP_AUTH flow.
xk6-cognito An example module for k6.io to get a cognito access token using USER_SRP_AUTH flow. See: to create k6 extension: https://github.c
Okta Golang Gin & Okta-Hosted Login Page Example
Okta Golang Gin & Okta-Hosted Login Page Example This example shows you how to use the Okta JWT verifier library to login a user to a Golang Gin appli
A software architecture style example for APIs that utilizes the features of SOLID-Principle.
Engelbyte's Waterbyte Clean Architecture A software architecture style example for APIs that utilizes the features of SOLID-Principle. The example sho
terraform-plugin-mux Example (upgrade(sdk/v2) + framework)
Terraform Provider Scaffolding (Terraform Plugin Framework) This template repository is built on the Terraform Plugin Framework. The template reposito
terraform-plugin-mux Example (framework + framework)
Terraform Provider Scaffolding (Terraform Plugin Framework) This template repository is built on the Terraform Plugin Framework. The template reposito
Convenient wrappers for reading inputs.
read Convenient wrappers for reading inputs. Examples fmt.Print("input ") line, err := read.Line() if err != nil { panic(err) } fmt.Println(line) Us
Api-waf-example-cdk - Demo using sam to drive a CDK serverless api
CDK SAM Demo Demo using sam to drive a CDK serverless api Stack Setup go build -
Captcha - A captcha example with golang
captcha https://www.google.com/recaptcha/admin/create recaptca hcaptca recaptca
Simple-request-limiter - Example of limiting API requests using standard Go library
Route: http://localhost:8080/urls example of body in POST request that was used:
Atomic Arbitrage - A base example of a bare implementation of an arbitrage bot
Atomic Arbitrage Atomic Arbitrage is a base example of a bare implementation of
golang csrf react example, using gorilla/mux and gorilla/mux
Demo REST backend Gorilla csrf middleware and Js frontend Use gorilla/mux and gorilla/csrf How to run open goland IDE, run middleware_test.go by click
Flux prometheus grafana-example - A tool for keeping Kubernetes clusters in sync with sources ofconfiguration
Flux is a tool for keeping Kubernetes clusters in sync with sources of configuration (like Git repositories), and automating updates to configuration when there is new code to deploy.
This example implements a basic example of how to create your own modules, and how to call them from other modules
This example implements a basic example of how to create your own modules, and how to call them from other modules. In addition, an example of how to do unit tests is developed.
Database - Example project of database realization using drivers and models
database Golang based database realization Description Example project of databa
Generic - Golang generic example
泛型 场景 假设需要写一个列表总数计算的函数,根据不同数据类型,我们可能分别要写 SumInts(data []int),SumFloats(data []fl
Example-go-install - A package aims to demonstrate how libraries / commands should be organized in a go package
Example-go-install - A package aims to demonstrate how libraries / commands should be organized in a go package
Go-gke-pulumi - A simple example that deploys a GKE cluster and an application to the cluster using pulumi
This example deploys a Google Cloud Platform (GCP) Google Kubernetes Engine (GKE) cluster and an application to it
Go-sql-reader - Go utility to read the externalised sql with predefined tags
go-sql-reader go utility to read the externalised sql with predefined tags Usage
Inspect-descriptor-set - Example protobuf descriptor set inspector CLI tool
Quick little example of parsing a protobuf descriptor file. ❯ go run main.go -f
Gonfigure - Read and write config files in go
Gonfigure Reads ini files in golang. Reading INI Files Load file File can be loa
Content and build toolchain for Zig by Example
Content and build toolchain for Zig by Example. Building To build the site you'll need Go installed. Run: tools/build To build continuously in a loop:
Go-generic-unboxing - A quick ready to ship demo for go generic using the official example
Go generic This repo contain basic demo for installing and running go1.18beta1 v
Provides the function Parallel to create a synchronous in memory pipe and lets you write to and read from the pipe parallelly
iopipe provides the function Parallel to create a synchronous in memory pipe and lets you write to and read from the pipe parallely
Clean-todo - An example of go app with clean architecture
clean-todo An example of go app with clean application Functionality This is a s
Go-todo-api - An example API project written Go and Fiber Framework
This is an example API project written Go and Fiber Framework. Test codes has been written for all controller functions. Environment variables are taken from config.yml.
GoPostgreSQL - An example usage of PostgreSQL with GO, very simple since the objective is that others can read and learn
GoPostgreSQL - An example usage of PostgreSQL with GO, very simple since the objective is that others can read and learn
Read metrics from a Message Queue in Json format and expose them in a Prometheus compatible format
mq2prom Read metrics from a Message Queue in Json format and expose them in a Prometheus compatible format. Currently only works for MQTT compatible M
Golang-Devnet-Interfaces - Quick example of using Scrapligo and TextFSM to parse interfaces from Devnet Sandbox
Scrapligo & TextFSM This is a simple example of using the Scrapligo library deve
Go-kit-microservices - Example microservices implemented with Go Kit
Go Kit Microservices Example microservices implemented with go kit, a programmin
Gobot - A Telegeam bot example with go
Telegeam bot example Included saving users in postgres database Start Set your t
Go.work-workspace-example - Go1.18 workspace example
Go.work-workspace-example - Go1.18 workspace example
Http-conection - A simple example of how to establish a HTTP connection using Golang
A simple example of how to establish a HTTP connection using Golang
A sample url shortener app to test Keploy integration capabilities
Example URL Shortener A sample url shortener app to test Keploy integration capabilities Installation git clone https://github.com/keploy/example-url-
A demo of using Go channels as a function composition technique.
Channels Example This is a Go program containing functions that consume and produce channels. I think this is potentially a nicer API shape than e.g.
This GitHub repository contains code example for those who are new to go programming.
Go-examples This GitHub repository contains code example for those who are new to go programming. IMPLEMENTATIONS JWT - json-web-token-implementation/
Vocabular checker JetBrains Academy home work Read file with bad words
Vocabulary Checker JetBrains Academy home work Read file with bad words and replace them on * in the next entered text until exitVocabulary Checker JetBrains Academy home work Read file with bad words and replace them on * in the next entered text until exit
Parse a shell script and output all export declarations in an easy to read format
Find Exports Parse a shell script and output all export declarations in an easy to read format. Usage Example $ findexports ~/.bashrc PATH=$PATH:/usr/
Data visualization with chart, Create CSV file, Read Write CSV file
Data visualization with chart, Create CSV file, Read Write CSV file, Read from json file and many more in single project ......
Pet-blockchain-go is a simple proof of work mining algorithm in Go.
pet-blockchain-go Pet-blockchain-go is a simple proof of work mining algorithm in Go. Inspired by: cosme12 / SimpleCoin nosequeldeebee / blockchain-tu
Golang AWS SAM Lambda example
Golang AWS SAM Lambda example This example project shows how to use AWS SAM with
Example of a distributed voting app running on Kubernetes. Written in Golang with Terraform definitions to deploy to AWS EKS
Example of a distributed voting app running on Kubernetes. Written in Golang with Terraform definitions to deploy to AWS EKS
A scalable (on work) template project for golang to work as an api itself. for more information read readme.
What Is GoTorn? At this project, I'm trying to create a template with Clean structure and come up with a reusable, nice and scalable structure for any
Super Simple Config: read from json file, overwrite with ENV vars
ssconfig Super Simple Config: read from json file, overwrite with ENV vars. values are read directly into your config struct, field names of the struc
Package joystick implements a Polled API to read the state of an attached joystick
Package joystick implements a Polled API to read the state of an attached joystick. Windows, Linux & OSX are supported. Package requires no external dependencies to be installed.
Example of trace instrumentation in Golang applications :bar_chart:
go-opentelemetry-example Example of trace instrumentation in Golang applications using the opentelemetry. Requirements/dependencies Docker Docker-comp
This contains some example (micro)service
This contains some example (micro)service. It should expose some of the issues when tyring to put too much logic into one file or to mix things that should not be mixed together.
An example of how to parse json data using go....a typical step for preparing data prior to uploading to a db.
JSON parser using GO An example of parsing json data in go, when you already know the schema of the data Example input: { "num_listings":"36",
Simple-read-file - Example of how to read file in Go
simple-read-file This repository contains a simple example of how to read file i
Write and read JSON from different sources in one line
Easy Json (EJ) Package ej implements a JSON handler to write and read json succinctly from different sources like files and http requests. Install go
Nydus-snapshotter - A containerd snapshotter with capability of on-demand read
Nydus Snapshotter Nydus-snapshotter is a non-core sub-project of containerd. Pul
Decrypts and dumps K3s bootstrap data read from stdin.
k3s-dump-bootstrap Decrypts and dumps K3s bootstrap data read from stdin. Note: token parameter should be just the bare passphrase, not a full K10-f
GateCracker-REST - A RESTful API example for simple lock model information application with Go
Go Lock Models REST API Example A RESTful API example for simple lock model info
An example of a Feistel cipher in Go.
Feistel cipher Background Feistel ciphers are a method for building a [[symmetric key]] [[block cipher]]. Most modern symmetric block ciphers are base
Read k8S-source-code notes, help quickly understand the K8S-code organization rules
K8S源码阅读笔记 以下笔记针对 kubernetes V1.23.1(截至2022年01月01日最新版本),并不保证对其它版本的有效性 一、架构图 二、阅读前准备 由于kubernetes项目巧妙的设计和代码高度的封装性,建议在阅读代码前,尽可能的进行以下内容的准备: 1. 编程知识配备 编程语准
Weather api - A Simple Weather API Example With Golang
Example import: import "github.com/mr-joshcrane/weather_api" Example of Library
Cpu-profiling - Basic example of CPU Profiling in Golang which shows the bottlenecks and how much time is spent per function
cpu-profiling Basic example of CPU Profiling in Golang which shows the bottlenec
Raft-grpc-demo - Some example code for how to use Hashicorp's Raft implementation with gRPC
raft-grpc-example This is some example code for how to use Hashicorp's Raft impl
Learn-Nakama - An example project template on how to set up and write custom logic in Nakama server
Nakama Project Template An example project template on how to set up and write c
Epaper - Driver and example program for tri-color 7.5" 880x528 waveshare eink display
epaper Driver and example program for tri-color 7.5" 880x528 waveshare eink display It's a work in progress, which lacks a lot of safeguarding (meanin
OcppManager-go - A library for dynamically managing OCPP configuration (variables). It can read, update, and validate OCPP variables.
🔌 ocppManager-go A library for dynamically managing OCPP configuration (variables). It can read, update, and validate OCPP variables. Currently, only
Example of a simple application which is powered by a third-party oAuth 2.0 server for it's authentication / authorization. Written in Golang.
go mod init github.com/bartmika/osin-thirdparty-example go get github.com/spf13/cobra go get github.com/openshift/osin go get github.com/openshift/osi
Go-utils - Multiple tools and example for golang
go-utils Description Multiple tools and example for golang database : example to
Osin-example - Example of a identity provider powered by OAuth 2.0 in Golang
go mod init github.com/bartmika/osin-example go get github.com/google/uuid go get github.com/rs/cors go get github.com/spf13/cobra go get github.com/g
MTLS - Golang mTLS example,mTLS using TLS do both side authentication & authorization
mTLS Golang Example mTLS Golang Example 1. What is mutual TLS (mTLS)? 2. How doe
MTLS - Golang mTLS example,mTLS using TLS do both side authentication & authorization
mTLS Golang Example mTLS Golang Example 1. What is mutual TLS (mTLS)? 2. How doe
Ruuvi-go-gateway - Software replica of the Ruuvi Gateway
ruuvi-go-gateway ruuvi-go-gateway is a software that tries to replicate Ruuvi Ga
Store - Read and write data structures
Store - Read and write data structures Store provides the ability to write the data structures to a file and read from a file in the Go programming la
At this example project, I'm trying to learn Golang with Clean structure and come up with a reusable
Learning Golang Language In Clean Structure At this example project, I'm trying to learn Golang with Clean structure and come up with a reusable, nice
Service-scaling - Microservice scaling with example
Scaling examples This is the repo for my (Hungarian) Twitch streams where I spea
Repo CRUD - write e read in mongoDB
Meli User - userwrite Este repo é responsável por um cadastro onde teremos somen
An example of implementation of Clean Architecture in Golang
Golang Template Description This is an example of implementation of Clean Archit
Service for read & update MAC OUI list
manufacturer-parser Service written on Golang to get actual MAC OUI list from here and store to MongoDB. Needed for dealt with actual list in Wimark O
Exemplary real world application built with Golang + Gin
Golang/Gin codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API. This codebase was
This repository contains example apps created using GoCondor framework
Examples This repository contains example apps created using GoCondor framework what are the examples? 1- Todo API A todo api with the below routes:
An example of gin
Go Gin Example An example of gin contains many useful features 简体中文 Installation $ go get github.com/EDDYCJY/go-gin-example How to run Required Mysql
The fastest way to build a restful API with golang and echo framework.
The fastest way to build a restful API with golang and echo framework. Includes common required features for modern web applications. A boilerplate project with golang and Echo.
Example Go monolith with embedded microservices and The Clean Architecture
Example Go monolith with embedded microservices and The Clean Architecture This project shows an example of how to implement monolith with embedded mi
Golang Clean Architecture REST API example
Golang Clean Architecture REST API example 🚀 👨💻 Full list what has been used: echo - Web framework sqlx - Extensions to database/sql. pgx - Postgr
An example Event-Driven application in Go built with Watermill library.
Event-Driven application example This is an example Event-Driven application written in Go, using Watermill. The projects aims to integrate incoming G
Introduce the best practice experience of Go project with a complete project example
Introduce the best practice experience of Go project with a complete project example
The boilerplate of the GoLang application with a clear microservices architecture.
NOTE 1: If something is not fully clear, feel free to create an issue. Let's create an excellent boilerplate together! NOTE 2: There are no tests in t
Golang Microservices Example
Golang Microservices A Microservices Architecture consists of a collection of small, autonomous services. Each service is self-contained and should im
An Example to print string for times, init.go & config.go are needed!
tao-hello _ _ U _____ u _ _ U ___ u _____ _ U ___ u |'| |'| \| ___"|/ |"| |"| \/"_ \/ |_ " _| U /"
go-kit example. go-kit微服务探索实践
参考文章 go-kit offical example 官方示例 DDD(domain drive design) 领域驱动设计 ...过度设计, 不宜用作入门 一、go 语言编写 grpc 微服务实例 系列文章 看看概念和思路就好, 代码示例比较生硬, 而且代码质量并不高. Micro-servi