https://github.com/nandlabs/golly
golly is a open source library for go
https://github.com/nandlabs/golly
codec enterprise-grade genai genai-usecases go golang golang-library golly http library llm messaging opensource production-ready rest-api vfs web
Last synced: 13 days ago
JSON representation
golly is a open source library for go
- Host: GitHub
- URL: https://github.com/nandlabs/golly
- Owner: nandlabs
- License: mit
- Created: 2024-04-05T08:19:34.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-03T10:16:42.000Z (7 months ago)
- Last Synced: 2025-07-03T11:34:29.092Z (7 months ago)
- Topics: codec, enterprise-grade, genai, genai-usecases, go, golang, golang-library, golly, http, library, llm, messaging, opensource, production-ready, rest-api, vfs, web
- Language: Go
- Homepage: https://golly.nandlabs.io
- Size: 260 KB
- Stars: 20
- Watchers: 3
- Forks: 3
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
[](https://goreportcard.com/report/oss.nandlabs.io/golly)
[](https://github.com/nandlabs/golly/actions?query=event%3Apush+branch%3Amain+)
[](https://github.com/nandlabs/golly/releases/latest)
[](https://github.com/nandlabs/golly/releases/latest)
[](https://pkg.go.dev/oss.nandlabs.io/golly)
# golly
Golly is a collection of reusable common utilities for go programming language.
## Goals
- Create reusable common collection of utilities targeting enterprise use cases
- Ensure the project is self-contained and minimise external dependencies.
## Installation
```bash
go get oss.nandlabs.io/golly
```
## Core Packages
- [assertion](assertion/README.md)
- Unified interface for asserting conditions
- Supports various assertion functions for different types of conditions
- [clients](clients/README.md)
- A common package for all types of client
- Checkout clients that leverage this package.
- [rest](clients/rest/README.md)
- [messaging](messaging/README.md)
- [cli](cli/README.md)
- Easy to use API for building complex command structures
- Argument parsing and validation
- [codec](codec/README.md)
- Easy to use interface
- Multiformat support
- Unifed interface for Endcoding and Decoding data from structured format
- Out of the box support for `XML` `JSON` & `YAML`
- [collections](collections/README.md)
- A collection of generic data structures
- Stack, Queue, List,LinkedList, Set
- Synchronized versions of the above
- [genai](genai/README.md)
- Interact with generative AI models
- Manage sessions, exchanges, and models
- Handle memory and templates
- [l3](l3/README.md)
- Lightweight Levelled Logger
- Multiple logging levels `OFF,ERROR,INFO,DEBUG,TRACE`
- Console and File based writers
- Ability to specify log levels for a specific package
- Async logging support
- Configuration can be done using either a file,env variables,Struct values at
runtime.
- [messaging](messaging/README.md)
- General producer interface for sending messages to different messaging
platforms.
- General consumer interface for receiving and processing messages from
different messaging platforms.
- A local provider interface for messaging using channels
- rest
[server](rest/server/README.md)
- HTTP methods: GET, POST, PUT, DELETE
- Query parameters
- Request headers
- Middleware support
- TLS Configuration
- Transport Layer Configuration
[client](clients/rest/README.md)
- HTTP methods: GET, POST, PUT, DELETE
- Query parameters
- Request headers
- Proxy Configuration
- TLS Configuration
- Transport Layer Configuration
- SSL Configuration
- Error handling
- [semver](semver/README.md)
- Adheres to the [SemVer 2.0.0](https://semver.org/spec/v2.0.0.html)
specification
- Easy to use API for parsing, comparing and generating SemVer versions
- Supports pre-release and build metadata
- [turbo](turbo/README.md)
- Smart Http Routing Capabilities
- Aimed for API Development
- Easy to use
- Filters
- [vfs](vfs/README.md)
- Virtual File System
- Unified interface for multiple file systems
- Default implementation for local fs available
- Extensible framework
- [testing/assert](testing/assert/README.md)
- Flexible and extensible assertion library
And many more...
Refer to [Godocs](https://godoc.org/oss.nandlabs.io/golly?) for more information
## Contributing
We welcome contributions to the project. If you find a bug or would like to
request a new feature, please open an issue on
[GitHub](https://github.com/nandlabs/golly/issues).
## License
This project is licensed under MIT License. See the [License](LICENSE) file for
details.