- Gouse is a modern essential
Golang
utility package delivering consistency, modularity, performance, & extras presets inspired byLodash
. Javascript
user-friendly syntax.- No config - import as utility functions.
- Lightweight package: easy to use, chainable, and extendable, and available in various builds & module formats.
- Gouse provides a wide variety of available methods, taking the hassle out of working with arrays, numbers, objects, strings, etc. Each method has different features, so you can pick the ones that fit your project best.
- Comprehensive documentation and examples.
- Powerful package that is suitable for small to large projects and compatible with all OS platforms
- Thanks to Gouse, you can:
- Set up and scale projects rapidly.
- 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.
- 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 you 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
๐ To address that need, Gouse was created as a powerful toolkit for Go developers, a collection of built-in functions and best practices that provide comprehensive, powerful, and reliable solutions. Trusted to build services, APIs, and web applications.
Compatibility with Go >=
1.18
go get github.com/thuongtruong1009/gouse
package main
import "github.com/thuongtruong1009/gouse"
func main() {
gouse.Stater()
}
-
Using package directly in your module as ultra-lightweight utility functions.
-
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/thuongtruong1009/gouse.git
- Refer to the
Contributing Commands
section for more information on how to develop the project.
-
We welcome your contributions! 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
. See the LICENSE file for more information. -
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 - MinIO Go Library for Amazon S3 compatible cloud storage ๐ฆ