- Gouse is a modern essentials
Golang
utility package delivering consistency, modularity, performance, and extras presets. - Built on top of Go language, and others Go open-source packages.
- Inspired by
Lodash
soJavascript
user-friendly syntax. - Lightweight package: easy to use, chainable, extendable, available.
- Gouse provides a wide variety of available methods, taking the hassle out of working with any type requests. So you can pick the one of them that fit your project demands.
- Powerful package of built-in functions provide comprehensive, and reliable solutions for any project size and compatible with all OS platforms.
- Open-source, free to use, and contribute.
- Thanks to Gouse, you can:
- Set up and scale projects rapidly.
- No config - import directly as utility functions.
- Handle complex logic use-cases such as database connection, build APIs, error handling, log management...
- Optimize performance and increase productivity.
- Build easily consistent systems with available functions.
- Avoid writing repetitive code and a unified code style.
- Reduce the number of lines of code and make it easier to read, understand, and maintain.
- Avoid compatibility conflicts and unexpected errors.
- Works smoothly in any environment and platform.
- Easy to learn and use, suitable for beginners and experts.
- Compatible with all frameworks and libraries.
- Referencing examples with comprehensive documentation
- And more...
- Go has emerged as a server language, but it still doesn't have complete and consistent packages available to support coding development.
- Developers must write by hand or search manually. That wastes time and even causes many compatibility conflicts.
- Must update each dependent package every time when project update.
- Unexpected errors can easily arise during execution.
- Performance is not optimized.
- The number of lines of code is very long that not easy to read and understand.
- Code logic may not be consistent, making it difficult to maintain and scale.
- Hard to make sure the programs are executed the same across all environments.
- Lack of coherent learning materials and examples.
๐ To address that need, Gouse was created as a powerful presets toolkit for Go developers, a collection of built-in functions and best practices that provide comprehensive, powerful, and reliable solutions. Trusted to build services, software platforms, APIs, and web applications.
Below is a list of modules that Gouse supports. This project is still in development stage, so not all features are available.
- See more details at Gouse Documentation
Compatibility with Go >=
1.18
go get -u github.com/thuongtruong109/gouse
or add to your go.mod
file:
required github.com/thuongtruong109/gouse
package main
import "github.com/thuongtruong109/gouse"
func main() {
gouse.Stater()
}
- Using package directly in your module as ultra-lightweight utility functions.
package main
import "github.com/thuongtruong109/gouse"
func main() {
gouse.Print(gouse.Add(1, 2))
}
- View more examples at
sample
folder.
GOOS
: windows
GOARCH
: amd64
CPU
: AMD Ryzen 5 5600U with Radeon Graphics (12) @ 2.300GHz
ITERATIONS
: 5
INPUT
: 1000000
$ git clone https://github.com/thuongtruong109/gouse.git
- Refer to the
Contributing Commands
section for more information on how to develop the project.
Gouse is an open source project and built on the top of other open-source projects. Welcome all the kinds of contributions. No matter it is for typo fix, bug fix or big new features. Please do not hesitate to ask a question or send a pull request.
We strongly value documentation and integration with other projects, so we are very glad to accept improvements for these aspects.
If you're looking for issues to work on, try looking at the good first issue list. We do our best to tag issues suitable for new external contributors with that label, so it's a great way to find something you can help with!
-
Please read our
Code of Conduct
before contributing. -
Refer to the
Contributing Guide
for more information on how to get started.
-
Gouse is released under the
MIT
License ยฉ 2024 Tran Nguyen Thuong Truong. -
For more information, see the
Licensing FAQs
.
- The tool has been tested on a variety of inputs, but it's not perfect.
- For support in using Gouse, please reach out in the following venues:
Raise Issues
- For generally applicable issues and feedback.Join Discussions
- For ideas, questions, or issues regarding Gouse's design, development, and future.
-
Gouse is under active development. This means that new features, bug fixes, and breaking changes will be released frequently. We encourage you to keep the
CHANGELOG
open while upgrading to see what's new! -
For more information on how to use the changelog, please refer to
Keeping a Changelog
.
- If you like this project, you can sponsor me on:
- If you have any questions, please contact me:
-
Gouse is built on top of the following below and others open-source projects
-
Special thanks to the following dependencies that helped make this project possible:
- Google UUID - A fast and simple UUID library for Go ๐
- Survey v2 - A golang library for building interactive prompts with full support for windows and posix terminals ๐
- Bubbletea - A powerful little TUI framework ๐
- Go Cache - An in-memory key:value store/cache (similar to Memcached) ๐
- Crypto - A collection of cryptographic algorithms and protocols for Go ๐ฆ
- Go eCharts - ๐จ The adorable charts library for Golang ๐
- Env config x Go Toml - A Go library for managing configuration data from files ๐
- Minio Client Go v7 - MinIO Go Library for Amazon S3 compatible cloud storage ๐ฆ
- Mongodb Go driver - The MongoDB supported driver for Go ๐ฆ
- Redis Go v8 - Type-safe Redis client for Golang ๐ฆ
- Cache for Go - An in-memory key:value store/cache (similar to Memcached) library for Go ๐
- Toml Go - A Go library for managing configuration data from files ๐
- Yaml - A YAML support for the Go language ๐