gaper alternatives and similar packages
Based on the "Utilities" category.
Alternatively, view gaper alternatives based on common mentions on social networks and blogs.
-
项目文档
基于vite+vue3+gin搭建的开发基础平台(支持TS,JS混用),集成jwt鉴权,权限管理,动态路由,显隐可控组件,分页封装,多点登录拦截,资源权限,上传下载,代码生成器,表单生成器等开发必备功能。 -
excelize
Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets -
xlsx
(No longer maintained!) Go (golang) library for reading and writing XLSX files. -
godotenv
A Go port of Ruby's dotenv library (Loads environment variables from .env files) -
hystrix-go
Netflix's Hystrix latency and fault tolerance library, for Go -
go-funk
A modern Go utility library which provides helpers (map, find, contains, filter, ...) -
gorequest
GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent ) -
goreporter
A Golang tool that does static analysis, unit testing, code review and generate code quality report. -
Kopia
Cross-platform backup tool for Windows, macOS & Linux with fast, incremental backups, client-side end-to-end encryption, compression and data deduplication. CLI and GUI included. -
gojson
Automatically generate Go (golang) struct definitions from example JSON -
lancet
A comprehensive, efficient, and reusable util function library of go. -
create-go-app
✨ Create a new production-ready project with backend, frontend and deploy automation by running one CLI command! -
spinner
Go (golang) package with 90 configurable terminal spinner/progress indicators. -
filetype
Fast, dependency-free Go package to infer binary file types based on the magic numbers header signature -
boilr
:zap: boilerplate template manager that generates files or directories from template repositories -
EaseProbe
A simple, standalone, and lightweight tool that can do health/status checking, written in Go. -
mole
CLI application to create ssh tunnels focused on resiliency and user experience. -
beaver
💨 A real time messaging system to build a scalable in-app notifications, multiplayer games, chat apps in web and mobile apps. -
go-underscore
Helpfully Functional Go - A useful collection of Go utilities. Designed for programmer happiness. -
mimetype
A fast Golang library for media type and file extension detection, based on magic numbers -
JobRunner
Framework for performing work asynchronously, outside of the request flow -
git-time-metric
Simple, seamless, lightweight time tracking for Git
Clean code begins in your IDE with SonarLint
Do you think we are missing an alternative of gaper or a related project?
Popular Comparisons
README
gaper Used to build and restart a Go project when it crashes or some watched file changes Aimed to be used in development only.
Changelog
See Releases for detailed history changes.
Installation
Using go tooling:
go get -u github.com/maxcnunes/gaper/cmd/gaper
Or, downloading the binary instead (example for version 1.0.3, make sure you are using the latest version though):
curl -SL https://github.com/maxcnunes/gaper/releases/download/v1.0.3/gaper_1.0.3_linux_amd64.tar.gz | tar -xvzf - -C "${GOPATH}/bin"
Usage
NAME:
gaper - Used to build and restart a Go project when it crashes or some watched file changes
USAGE:
gaper [global options] command [command options] [arguments...]
VERSION:
version
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--bin-name value name for the binary built by gaper for the executed program (default current directory name)
--build-path value path to the program source code (default: ".")
--build-args value arguments used on building the program
--program-args value arguments used on executing the program
--verbose turns on the verbose messages from gaper
--disable-default-ignore turns off default ignore for hidden files and folders, "*_test.go" files, and vendor folder
--watch value, -w value list of folders or files to watch for changes
--ignore value, -i value list of folders or files to ignore for changes
--poll-interval value, -p value how often in milliseconds to poll watched files for changes (default: 500)
--extensions value, -e value a comma-delimited list of file extensions to watch for changes (default: "go")
--no-restart-on value, -n value don't automatically restart the supervised program if it ends:
if "error", an exit code of 0 will still restart.
if "exit", no restart regardless of exit code.
if "success", no restart only if exit code is 0.
--help, -h show help
--version, -v print the version
Watch and Ignore paths
For those options Gaper supports static paths (e.g. build/
, seed.go
) or glob paths (e.g. migrations/**/up.go
, *_test.go
).
On using a path to a directory please add a /
at the end (e.g. build/
) to make sure Gaper won't include other matches that starts with that same value (e.g. build/
, build_settings.go
).
Default ignore settings
Since in most projects there is no need to watch changes of:
- hidden files and folders
- test files (
*_test.go
) - vendor folder
Gaper by default ignores those cases already. Although, if you need Gaper to watch those files anyway it is possible to disable this setting with --disable-default-ignore
argument.
Watch method
Currently Gaper uses polling to watch file changes. We have plans to support fs events though in a near future.
Examples
Using all defaults provided by Gaper:
gaper
Ignore watch over all test files:
no need for this if you have not disabled the default ignore settings
--disable-default-ignore
--ignore './**/*_test.go'
Contributing
See the Contributing guide for steps on how to contribute to this project.
Reference
This package was heavily inspired by gin and node-supervisor.
Basically, Gaper is a mixing of those projects above. It started from gin code base and I rewrote it aiming to get something similar to node-supervisor (but simpler). A big thanks for those projects and for the people behind it! :clap::clap:
How is Gaper different of Gin
The main difference is that Gaper removes a layer of complexity from Gin which has a proxy running on top of the executed server. It allows to postpone a build and reload the server when the first call hits it. With Gaper we don't care about that feature, it just restarts your server whenever a change is made.
*Note that all licence references and agreements mentioned in the gaper README section above
are relevant to that project's source code only.