# gogf/gf

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/gogf-gf).**

13,190 stars · 1,727 forks · Go · MIT

## Links

- GitHub: https://github.com/gogf/gf
- Homepage: https://goframe.org
- awesome-repositories: https://awesome-repositories.com/repository/gogf-gf.md

## Topics

`framework` `go` `go-framework` `goframe` `golang` `kubernetes` `logging` `microservice` `opentelemetry` `orm` `tracing`

## Description

GF is a comprehensive Go application toolkit and web framework. It provides a set of libraries and tools for building scalable web applications, APIs, and enterprise-level software.

The project features a driver-agnostic SQL database toolkit with a query builder and object mapper, alongside a dedicated framework for creating structured command line interfaces. It includes a project scaffolding tool to bootstrap application structures and automate development workflows.

The toolkit covers several broader capability areas, including concurrent data management with thread-safe collections, cryptographic operations for security, and a stack-aware error handling system. It also provides utilities for background task scheduling, adapter-based configuration management, and local service orchestration for containerized infrastructure.

## Tags

### Web Development

- [Backend Development](https://awesome-repositories.com/f/web-development/backend-development.md) — Serves as a comprehensive web framework for building HTTP servers and APIs with integrated routing and database mapping.
- [Server-Side Application Toolkits](https://awesome-repositories.com/f/web-development/server-side-application-toolkits.md) — Offers a comprehensive toolkit for building backend web applications and microservices with integrated utilities.
- [Go Web Frameworks](https://awesome-repositories.com/f/web-development/go-web-frameworks.md) — Provides a comprehensive web framework for building scalable applications and APIs using the Go language.
- [HTTP Servers](https://awesome-repositories.com/f/web-development/http-servers.md) — Implements a comprehensive HTTP server for routing requests and serving web applications and APIs. ([source](https://github.com/gogf/gf/blob/master/CLAUDE.md))

### Data & Databases

- [Database Query Builders](https://awesome-repositories.com/f/data-databases/database-query-builders.md) — Ships a driver-agnostic query builder and object mapper for interacting with various SQL databases. ([source](https://github.com/gogf/gf/blob/master/CLAUDE.md))
- [Query Builders](https://awesome-repositories.com/f/data-databases/query-builders.md) — Provides a driver-agnostic query builder for programmatic SQL construction across different dialects.
- [SQL Query Builders](https://awesome-repositories.com/f/data-databases/sql-query-builders.md) — Implements a driver-agnostic SQL query builder and object mapper for managing relational data persistence.

### Development Tools & Productivity

- [CLI Application Frameworks](https://awesome-repositories.com/f/development-tools-productivity/cli-application-frameworks.md) — Provides a dedicated framework for creating structured command line interfaces and automating developer workflows.
- [Command Line Interface Frameworks](https://awesome-repositories.com/f/development-tools-productivity/command-line-interface-frameworks.md) — Provides a framework for building structured CLI applications with complex command and argument parsing. ([source](https://github.com/gogf/gf/blob/master/CLAUDE.md))
- [Project Scaffolding](https://awesome-repositories.com/f/development-tools-productivity/project-scaffolding.md) — Ships a command line interface for bootstrapping project structures and configuring development environments.
- [Application Configuration Management](https://awesome-repositories.com/f/development-tools-productivity/application-configuration-management.md) — Offers centralized management of application settings using various loading adapters. ([source](https://github.com/gogf/gf/blob/master/CLAUDE.md))
- [Development Workflow Automators](https://awesome-repositories.com/f/development-tools-productivity/development-workflow-automators.md) — Ships a unified command interface to automate repetitive developer tasks like linting and tagging. ([source](https://github.com/gogf/gf/blob/master/Makefile))

### Programming Languages & Runtimes

- [Thread-Safe Collection Wrappers](https://awesome-repositories.com/f/programming-languages-runtimes/thread-safe-collection-wrappers.md) — Provides thread-safe collection wrappers to prevent race conditions during concurrent data access.
- [Concurrent Data Structures](https://awesome-repositories.com/f/programming-languages-runtimes/concurrent-data-structures.md) — Ships thread-safe arrays, maps, sets, queues, and pools for safe data access across multiple execution threads. ([source](https://github.com/gogf/gf/blob/master/CLAUDE.md))
- [Go Concurrency Utilities](https://awesome-repositories.com/f/programming-languages-runtimes/go-concurrency-utilities.md) — Implements advanced primitives for managing goroutines and synchronization for high-performance concurrent applications.

### Software Engineering & Architecture

- [Project Bootstrapping Tools](https://awesome-repositories.com/f/software-engineering-architecture/project-bootstrapping-tools.md) — Includes a project scaffolding tool to bootstrap application structures and automate initialization workflows. ([source](https://github.com/gogf/gf/tree/master/cmd/gf))
- [Error Registries](https://awesome-repositories.com/f/software-engineering-architecture/error-handling/error-management/application-error-handlers/error-contextualization/error-registries.md) — Tracks application failures by mapping specific error codes to detailed stack traces and origin metadata.
- [Background Task Schedulers](https://awesome-repositories.com/f/software-engineering-architecture/execution-control/background-task-schedulers.md) — Includes a system for running recurring background jobs on a fixed timetable. ([source](https://github.com/gogf/gf/blob/master/CLAUDE.md))
- [Modular Architectures](https://awesome-repositories.com/f/software-engineering-architecture/modular-architectures.md) — Organizes application logic into independent, composable libraries to build specific project types.
- [Stack-Aware Error Registries](https://awesome-repositories.com/f/software-engineering-architecture/stack-aware-error-registries.md) — Provides a stack-aware error handling system that tracks origins with stack traces and maintains an error code registry. ([source](https://github.com/gogf/gf/blob/master/CLAUDE.md))

### DevOps & Infrastructure

- [Adapter-Based Loaders](https://awesome-repositories.com/f/devops-infrastructure/configuration-management/file-based-configuration/adapter-based-loaders.md) — Loads application settings by mapping diverse data sources into a unified internal structure via adapters.
- [Service Orchestration](https://awesome-repositories.com/f/devops-infrastructure/service-orchestration.md) — Provides utilities for managing the lifecycle and discovery of distributed services and containerized infrastructure.

### Networking & Communication

- [Registry-Based Service Discovery](https://awesome-repositories.com/f/networking-communication/distributed-systems-p2p/distributed-systems-coordination/service-discovery-mechanisms/registry-based-service-discovery.md) — Implements discovery patterns that rely on external registries to track and resolve service addresses.
- [Service Discovery Integrations](https://awesome-repositories.com/f/networking-communication/service-discovery-integrations.md) — Integrates with distributed registries to locate available network services. ([source](https://github.com/gogf/gf/blob/master/CLAUDE.md))

### Security & Cryptography

- [Cryptographic Operations](https://awesome-repositories.com/f/security-cryptography/cryptographic-operations.md) — Provides a library for executing standard cryptographic operations including encryption, decryption, and hashing. ([source](https://github.com/gogf/gf/blob/master/CLAUDE.md))

### Testing & Quality Assurance

- [Fluent Assertions](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/testing-frameworks/test-frameworks/assertions-and-validation/assertion-validation-utilities/fluent-assertions.md) — Offers a fluent, chainable API for creating readable and descriptive test assertions.
