Go Advanced Admin Panel Documentation Help

ORM-Specific Quick Starts

Welcome to the ORM-Specific Quick Start Guides for the Go Advanced Admin Panel. These guides will help you integrate the admin panel with your preferred Object-Relational Mapping (ORM) library in Go.

Before proceeding, we recommend reviewing the Generic Quick Start Guide to familiarize yourself with the basic setup and configuration of the admin panel.

Supported ORM Integrations

We currently support the following ORM integrations:

GORM

GORM is a powerful ORM library for Go, offering developer-friendly APIs for CRUD operations, associations, transactions, and more.

Bun

Bun is an SQL-first ORM for Go, designed for performance and ease of use, with support for PostgreSQL, MySQL, and SQLite.

SQLX

SQLX extends Go's database/sql package, providing a set of extensions that make working with databases easier without introducing heavy ORM features.

XORM

XORM is a simple and powerful ORM for Go. It makes it easy to interact with databases using Go structs.

Getting Started

Choose your ORM from the list above to access the specific quick start guide tailored to it. Each guide covers:

  • Installation and setup.

  • Configuration specific to the ORM.

  • Registering models with the admin panel.

  • Running the admin panel with your ORM integration.

Building a Custom ORM Integration

If your preferred ORM is not listed, you can create a custom integration by implementing the required interfaces. Refer to the Building a Custom ORM Integration guide for detailed instructions on:

  • Implementing the ORM integrator interface.

  • Handling database interactions.

  • Registering your custom ORM with the admin panel.

Contributing

We welcome contributions from the community! If you've developed a custom ORM integration and want to share it with others, please see our Contributing Guide for information on how to contribute to the project. Your contributions help make the Go Advanced Admin Panel more versatile and useful for everyone.

Next Steps:

Last modified: 07 October 2024