countOnce
just once? no, when appear many it run once, but it can run many times
灵感来源
参考sync.once 只能发生一次,此包提供了并发时发生一次,多次调用仍有效
code start
queueMutex = utils.NewQueueMutex()
queueMutex.Do(func() {
do something...
}
just once? no, when appear many it run once, but it can run many times
参考sync.once 只能发生一次,此包提供了并发时发生一次,多次调用仍有效
queueMutex = utils.NewQueueMutex()
queueMutex.Do(func() {
do something...
}
Textify. CLI tool to convert many common document types to plane text. Goals. SO many different document types exist today. PDFs, EPUB books, Microsof
Flag Flag is a simple but powerful commandline flag parsing library for Go. Documentation Documentation can be found at Godoc Supported features bool
dasel Dasel (short for data-selector) allows you to query and modify data structures using selector strings. Comparable to jq / yq, but supports JSON,
lsp: list files in a mildly human-frendlier manner lsp lists files, like ls command, but it does not attempt to meet that archaic POSIX specification,
🎭 👄 weebsay - cowsay but it's random anime quote 🌸 aesthetics inspired by TorchedSammy follow him he is a good guy Installation 🔨 go get -u github
Mainly, car lets you list or extract files from an OCI (possibly Docker) image, regardless of the platform it was built for. For example, you can extract files from a windows/amd64 image even if you are running linux/arm64.
Yeah Output a string repeatedly until killed. Yet Another yes clone but in Golang. Usage Just like yes: yeah This will print "y" until the process is
Go-Suit Go-Suit is a very very wacky version of a bash terminal but in go, however with a little twitst languages - Go-Lang packages Third Party - g
I made an api and didn't know how to use it. Screenshots The initial screen when you first run the app. The screen after you specify an id. This app u
Project Assignment Steps to run the project: download or clone repo in your loca
Golang argparse Let's be honest -- Go's standard command line arguments parser flag terribly sucks. It cannot come anywhere close to the Python's argp
Sed-Go An implementation of sed in Go. Just because! Status Command-Line processing: Done. It accepts '-e', '-f', '-n' and long versions of the same.
Dependabotbot Have you been the victim of a lodash update? Has your notification page in Github been assaulted by needing to update a patch version of
Trouxa It is an easy and fast tool to install your packages with just one command. What means "Trouxa"? In portuguese, Trouxa means something like a "
Get the number of Brew Packages to update, just like you've experienced from Ubuntu BrewUpdate is a simple utility written in Go, notify you how many
say-hello Introduction Sometimes we need to have a frontend besides the backend. This repository uses React to show how we can server a React build an
R6RS Scheme Lisp dialect interpreter This is an implementation of a subset of R6RS Scheme Lisp dialect in golang. The work is still in progress. At th
dir2cast Turn .mp3 files in current directory to a podcast feed just one command. Then you can subscribe to it with your favorite podcast client, down
subcommands This is a modified fork of google/subcommands that uses lucasepe/pflag Subcommands is a Go package that implements a simple way for a sing