133 Resources
Golang string-in-slice Libraries
misspelled word linter for Go comments, string literals and embedded files
gospel The gospel program lints Go source files for misspellings in comments, strings and embedded files. It uses hunspell to identify misspellings an
🍕 Enjoy a slice! A utility library for dealing with slices and maps that focuses on type safety and performance.
🍕 github.com/elliotchance/pie Enjoy a slice! pie is a library of utility functions for common operations on slices and maps. Quick Start FAQ What are
Patternfinder - Find patterns in http output based on regex string. Display occurences
Patternfinder Find patterns in HTTP output based on regex string. Display occurr
A memory-efficient trie for testing the existence/prefixes of string only(for now).
Succinct Trie A memory-efficient trie for testing the existence/prefixes of string only(for now). Install go get -u github.com/nobekanai/sutrie Docume
Always use a slice., Dave Cheney
Golang Resources Why Go? Getting Started Directory Structure Error Handling Modules OOP Constructors Design Patterns Architecture & Best Practices SOL
Tutorial code for my video Learn to Use Basic Data Structures - Slices, Structs and Maps in Golang
Learn to Use Basic Data Structures - Slices, Structs and Maps in Golang Read text from a file and split into words. Introduction to slices / lists. Co
tasq is a simple HTTP-based task queue. Each task is represented as a string
tasq tasq is a simple HTTP-based task queue. Each task is represented as a string (it could be anything). Tasks are pushed to the queue via an HTTP en
Go-interview-problems - Interview problems written in Go
go-interview-problems I created this repository in 2021 to learn Go and practice
Go package to easily convert a URL's query parameters/values into usable struct values of the correct types.
Query Param Stop accessing query strings and repeatedly parsing them into your preferred values - queryparam can do that for you! Installation go get
Go MapSlice for ordered marshal/ unmarshal of maps in JSON
mapslice-json Go MapSlice for ordered marshal/ unmarshal of maps in JSON Example package main import ( "encoding/json" "fmt" "log" "github.com/a
Convert string to camel case, snake case, kebab case / slugify, custom delimiter, pad string, tease string and many other functionalities with help of by Stringy package.
Golang String manipulation helper package Convert string to camel case, snake case, kebab case / slugify, custom delimiter, pad string, tease string a
String Utilities for Go
String Utilities for Go "strutil" provides string functions for go applications. For documentation with examples see GoDoc Functions Align (Docs) Alig
Implements string functions widely used in other languages but absent in Go.
xstrings Go package xstrings is a collection of string functions, which are widely used in other languages but absent in Go package strings. All funct
Tugas Alta Immersive Backend Golang Basic Programming Part 3(Array, Slice, Function)
Tatacara Melakukan Setup Tugas clone project ini dengan cara git clone https://github.com/Immersive-Backend-Resource/Basic-Programming-Part3.git sete
Tugas Alta Immersive Backend Golang Basic Programming Part 4(Complexity Analysis, Array, Slice, Function)
Tatacara Melakukan Setup Tugas clone project ini dengan cara git clone https://github.com/Immersive-Backend-Resource/Basic-Programming-Part4.git sete
Golang Transliterator provides one-way string transliteration.
Golang text Transliterator Golang Transliterator provides one-way string transliteration. It takes Unicode text and converts to ASCII characters. Exam
Generates a random alphanumeric string of a given length.
randstring randstring.Create () is fast and has minimal memory allocation. It returns a random alphanumeric string of a given length. Install go get g
Cf-cli-find-app-plugin - CF CLI plugin to find applications containing a search string
Overview This cf cli plugin allows users to search for application names that co
Slice - provides generic Map, Reduce and Filter functions for Go.
slice slice is a simple Go package to provide generic versions of Map, Reduce and Filter on slices. I mainly wrote it as an exercise to get more famil
Q2entities - Parse the entities string from a Quake 2 .bsp map file. Written in Go
Q2Entities A simple command-line utility to extract the entities string from a Quake 2 map file. Entities? Binary Space Partitioning maps (.bsp) conta
prealloc is a Go static analysis tool to find slice declarations that could potentially be preallocated.
prealloc prealloc is a Go static analysis tool to find slice declarations that could potentially be preallocated. Installation go get -u github.com/al
Go 1.18 generics based slice and sorts.
genfuncs import "github.com/nwillc/genfuncs" Package genfuncs implements various functions utilizing Go's Generics to help avoid writing boilerplate c
generate Wireguard keypairs with a given prefix string
wireguard-vanity-address Generate Wireguard keypairs with a given prefix string. The Wireguard VPN uses Curve25519 keypairs, and displays the Base64-e
An Example to print string for times, init.go & config.go are needed!
tao-hello _ _ U _____ u _ _ U ___ u _____ _ U ___ u |'| |'| \| ___"|/ |"| |"| \/"_ \/ |_ " _| U /"
Shuffle bits in byte slice, written in golang
Shuffle 'em It is a library for bit shuffling, written in golang. The usecases a
ms - 'my story' creates a secure password string which can be memorized with a technique shared by Max.
On 23.12.21 20:22, Stefan Claas wrote: [...] Yes, I am aware of that, but how can one memorize a key when traveling and not taking any devices
Serialize any custom type or convert any content to []byte or string, for Go Programming Language
Serialize any custom type to []byte or string. Your custom serializers are, finally, organised. Easy-to-use While providing robust set of features, si
A generic two-dimensional matrix slice type in Go.
Grid The grid module and package provide a generic implementation of a two-dimensional matrix slice type. The API is inspired both by the standard Go
Flexible and customizable random string generator
Go random string generator Usage import "github.com/go-passwd/randomstring" Documentation https://go-passwd.github.io/randomstring.html Rules function
RandomString -- Library to make passwords without misleading letters
RandomString -- Library to make passwords without misleading letters This package makes random passwords with fast logic described in this link. The o
A safe time-independent random number/string generator.
🦎 RanGo A time-independent random number/string generator. 📦 Installation First: go get github.com/yektadev/rango Then, add the dependency to your
Convert JSON string to Graphql
Convert JSON in string type (example below) to GraphQL Input in GolangConvert JSON in string type (example below) to GraphQL Input in Golang
A string argument parser that understands quotes and backslashes
parseargs-go This is a port of the parserargs.js project to Go. What about parsing arguments allowing quotes in them? But beware that this library wil
A project around helping to prevent typing typos. TySug (Typo Suggestions) suggests alternative words with respect to keyboard layouts
TySug TySug is collection of packages, together they form a keyboard layout aware alternative word suggester. It can be used as both a library and a w
fuzzer for a single http parameter which checks if the response does/does not contain a certain given string
single http parameter fuzzer DISCLAIMER: ONLY USE THIS PROGRAM ON TARGETS YOU HAVE PERMISSION TO FUZZ! Initially used as a "poor man's" http fuzzer fo
🚀A fast, stable and embedded k-v storage in pure Golang, supports string, list, hash, set, sorted set.
English | 简体中文 rosedb is not production-ready, we are doing more test now. rosedb is a fast, stable and embedded key-value (k-v) storage engine based
Go MapSlice for ordered marshal/ unmarshal of maps in JSON
mapslice-json Go MapSlice for ordered marshal/ unmarshal of maps in JSON Example package main import ( "encoding/json" "fmt" "log" "github.com/a
A string argument parser that understands quotes and backslashes
parseargs-go This is a port of the parserargs.js project to Go. What about parsing arguments allowing quotes in them? But beware that this library wil
Repo Tugas Basic Programming Part 3(Array, Slice, Function) ALTA Immersive BE5
Cara mengerjakan tugas hari ke 3 clone project ini dengan cara git clone https://github.com/jackthepanda96/Basic-Programming-Part3.git setelah clone
A slice backed binary heap with support for generic type parameters.
go-binaryheap A slice backed binary heap where the order can be customized by a comparison function. The main branch now requires go 1.18 because the
Repo Tugas Basic Programming Part 4(Complexity Analysis, Array, Slice, Function) ALTA Immersive BE5
Cara mengerjakan tugas hari ke 4 clone project ini dengan cara git clone https://github.com/ALTA-Immersive-BE5/Basic-Programming-Part4.git setelah cl
Client - Server TCP Chat For String Messages And Random Files
GoChat Client - Server TCP Chat For String Messages And Random Files GoChat is a chat for string messages and random files using Golorem by Derek A. R
A Global event triggerer for golang. Defines functions as event with id string. Trigger the event anywhere from your project.
go-trigger Go Trigger is a global event trigger for golang. Define an event with a task specified to that event and Trigger it from anywhere you want.
Collections of string utils I have created over the years
Go String Utilities The following repo is a collection of string functions I have created over the years, and slowly moving them to a single package,
GO Golang Utilities and helpers like validators and string formatters
Handy Go utilities GO Golang Utilities and helpers like validators, sanitizers and string formatters Requires GO v=1.14 Dependencies None, since v1.1
Type-safe functions for common Go slice operations
Type-safe functions for common Go slice operations. Installation go get github.com/psampaz/slice Operations ✔ = Supported ✕ = Non supported - = Not y
Slice conversion between primitive types
sliceconv Sliceconv implements conversions to and from string representations of primitive types on entire slices. The package supports types int, flo
Wrap byte read options with uniform interface for io.Reader and byte slice
nibbler Nibble chunks from Reader streams and slice in a common way Overview This is a golang module that provides an interface for treating a Reader
UNIS: A Common Architecture for String Utilities within the Go Programming Language.
A Common Architecture for String Utilities in Go. UNIS shares a common architecture and the necessary interfaces that will help you to refactor your p
A collection of useful utility functions
util A group of generic useful utility functions Dependencies parallelizer github.com/shomali11/parallelizer Examples Concurrency package main import
Advent of Code Input Loader, provide a session cookie and a problem date, returns a string or []byte of the input
Advent of Code Get (aocget) A small lib to download your puzzle input for a given day. Uses your session token to authenticate to obtain your personal
Generic slices for Go 1.8+
Slice A simple package that makes working with slices a little bit easier with the help of generics. Install go get github.com/twharmon/slice Example
String Service. Microservice example using gokit library
Example of Microservices using go-kit Go kit is a collection of Go (golang) packages (libraries) that help you build robust, reliable, maintainable mi
An open source mesh slicer framework for Unity3D Game Engine. Written in C#.
Open Source Slicer Framework for the Unity3D Game Engine Ability to slice any convex Mesh using a Plane UV/Normal/Tangent Space Interpolation for seam
LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.
LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values. Authors: Sanjay Ghem
A GREAT GUI Offline Tool for manipulating/seeking resolver list of repique and dnscrypt proxy.
Intro A GUI Offline Tool for decrypting and manipulating *.md files used by repique and dnscrypt proxy It's targeted for creating your own DoT, DoH an
Generate a favicon.ico from a short string
icostring Generate a file in the ICO format from a short string of either 16 or 64 characters ('a'..'p', 'q' and 't') + an optional hex encoded color
A GoLang fuzzy string matcher
fuzzy-matcher A fast golang fuzzy string matcher // New matcher creates a new matcher to be used for matching // Note that this operation takes the mo
Parsing of numeric ranges from string
expand-range Parsing of numeric ranges from string. Convert "1,3-5" into [1,3,4,5]. Installation go get -u github.com/n0madic/expand-range Usage Impor
Parse a RFC 3339 duration string into time.Duration
duration Parse a RFC3339 duration string into time.Duration There are probably a few unsupported edge cases still to be fixed, please help me find the
Inflection is a string transformation library. It transforms strings from CamelCase to underscored string.
Inflection Inflection is a string transformation library. It transforms strings from CamelCase to underscored string. This is an implement of Inflecti
Some convenient string functions.
str Some convenient string functions. What This package containsa couple of functions to remove duplicates from string slices and optionally sort them
A go Library for scan database/sql rows to struct、slice、other types. And it support multiple databases connection management
ploto A go Library for scan database/sql rows to struct、slice、other types. And it support multiple databases connection management It's not an ORM. wo
Tiny Go tool for running multiple functions concurrently and collecting their results into an error slice.
Overview Short for "ConCurrent". Tiny Go tool for running multiple functions concurrently and collecting their results into an error slice. Dependency
Deduplicated and GC-friendly string store
This library helps to store big number of strings in structure with small number of pointers to make it friendly to Go garbage collector.
A library to remove special characters from a string.
spechar Is a small library for removing special characters from strings. Install First you have to install the package: go get github.com/gowizzard/sp
Cell is a Go package that creates new instances by string in running time.
Cell Cell is a Go package that creates new instances by string in running time. Getting Started Installing To start using CELL, install Go and run go
encLib is a simple golang package for quickly encoding and decoding string data in hex
encLib is a simple golang package for quickly encoding and decoding string data in hex
Go 1.18 Generics based slice package
The missing slice package A Go-generics (Go 1.18) based functional library with no side-effects that adds the following functions to a slice package:
JSON:API compatible query string parser
QParser The package helps to parse part of the URL path and its parameters string to a handy structure. The structure format is compatible with the JS
This is a Go Cli app that receives an string path to a log file, and based on it generates and prints in console an encoded polyline with the locations found in the log file.
GEOENCODE GO CLI APP DESCRIPTION This is a Go Cli app that receives an string path to a log file, and based on it generates and prints in console an e
Fast extensible file name sanitizer that works in Windows/Linux
Sanity Sanity is a fast and easily extensible file name (and in fact any other string) sanitizer. Usage Built-in rule set Sanity provides a sensible d
Recursively searches a map[string]interface{} structure for another map[string]interface{} structure
msirecurse Recursively searches a map[string]interface{} structure for existence of a map[string]interface{} structure Motivation I wrote this package
Generate a cryptographically strong random string :lock:
Crypto Random String You can use this library to generate a cryptographically strong random string for creating an identifier, slug, salt, PIN code, f
Convert json string to Golang struct
json-to-go-cli Convert json string to Golang struct How to install git clone https://github.com/tiancheng92/json-to-go-cli.git cd json-to-go-cli go bu
Slice and dice your TMUX windows and panes
Chaakoo is a wrapper over TMUX that can create sessions, windows and panes from a grid based layout. The idea here is inspired by the CSS grid template areas.
💪 Helper Utils For The Go: string, array/slice, map, format, cli, env, filesystem, test and more.
💪 Helper Utils For The Go: string, array/slice, map, format, cli, env, filesystem, test and more. Go 的一些工具函数,格式化,特殊处理,常用信息获取等等
golang rule-based string validator
gosv golang rule-based string validator usage import "github.com/s0rg/gosv" var MyRules = []gosv.Rule{ gosv.MinLen(8), gosv.MaxLen(64), gosv.MinLo
Package strnaming is used to Convert string to camelCase, snake_case, kebab-case.
strnaming Package strnaming is used to Convert string to camelCase, snake_case, kebab-case. Contents strnaming Contents API Examples Install Quick sta
Slice and dice your TMUX windows and panes
chaakoo Introduction Configuration Using Chaakoo Examples Download License Introduction Chaakoo is a wrapper over TMUX that can create sessions, windo
Data structure,Algorithms implemented in Go (for education)
Data structure,Algorithms implemented in Go (for education) List of Content : 1. Math - 2. String - 3. Conversions - 4. Sort - 5. Search - 6. Data str
sttr is command line software that allows you to quickly run various transformation operations on the string.
sttr is command line software that allows you to quickly run various transformation operations on the string.
cross-platform, cli app to perform various operations on string
sttr is command line software that allows you to quickly run various transformation operations on the string.
Golang parameter validation, which can replace go-playground/validator, includes ncluding Cross Field, Map, Slice and Array diving, provides readable,flexible, configurable validation.
Checker 中文版本 Checker is a parameter validation package, can be use in struct/non-struct validation, including cross field validation in struct, elemen
💯 Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
Package validator implements value validations for structs and individual fields based on tags.
A fast (5x) string keyed read-only map for Go - particularly good for keys using a small set of nearby runes.
faststringmap faststringmap is a fast read-only string keyed map for Go (golang). For our use case it is approximately 5 times faster than using Go's
Package for downloading things from a string URL using a variety of protocols.
go-getter is a library for Go (golang) for downloading files or directories from various sources using a URL as the primary form of input.
A flexible and powerful SQL string builder library plus a zero-config ORM.
SQL builder for Go Install Usage Basic usage Pre-defined SQL builders Build SQL for MySQL, PostgreSQL or SQLite Using Struct as a light weight ORM Nes
sleuth checks that you declared a slice with length and you are trying append to the slice.
sleuth sleuth detects when an append is used on a slice with an initial size. Instruction go install github.com/sivchari/sleuth/cmd/sleuth Usage packa
A simple go program which checks if your websites are running and runs forever (stop it with ctrl+c). It takes two optional arguments, comma separated string with urls and an interval.
uptime A simple go program which checks if your websites are running and runs forever (stop it with ctrl+c). It takes two optional arguments: -interva
efficient string matching in Golang via the aho-corasick algorithm.
aho-corasick Efficient string matching in Golang via the aho-corasick algorithm. x20 faster than https://github.com/cloudflare/ahocorasick and x3 fast
Implementation of Boyer-Moore fast string search algorithm in Go
boyermoore Implementation of Boyer-Moore fast string search algorithm in Go
Useful Go String methods
Go-string Useful string utility functions for Go projects. Either because they are faster than the common Go version or do not exist in the standard l
Initialize structs with default values
defaults Initialize structs with default values Supports almost all kind of types Scalar types int/8/16/32/64, uint/8/16/32/64, float32/64 uintptr, bo
Go library that provides fuzzy string matching optimized for filenames and code symbols in the style of Sublime Text, VSCode, IntelliJ IDEA et al.
Go library that provides fuzzy string matching optimized for filenames and code symbols in the style of Sublime Text, VSCode, IntelliJ IDEA et al. This library is external dependency-free. It only depends on the Go standard library.
An in-memory string-interface{} map with various expiration options for golang
TTLCache - an in-memory cache with expiration TTLCache is a simple key/value cache in golang with the following functions: Expiration of items based o
Utilities to prettify console output of tables, lists, progress-bars, text, etc.
go-pretty Utilities to prettify console output of tables, lists, progress-bars, text, etc. Table Pretty-print tables into ASCII/Unicode strings.
🍀 Go basic library. || Go语言基础库
Go语言基础库 工程目录说明 pkg/ ...... 源码包 |-- bininfo/ ...... 将编译时源码的git版本信息(当前commit log的sha值和commit message),编译时间,Go版本,平台打入程序中
Slice graph uses graphviz in order to pretty print slices for you.
slicegraph Slice graph uses graphviz in order to make you understand what happens underneath your slices.