core

package module
v0.1.0-alpha.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2026 License: MIT Imports: 0 Imported by: 4 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package core provides common functionality that is shared between modules in the Supabase Go SDK.

Consumers rarely import this package directly. The github.com/supabase/supabase-go/core/configuration package carries the client configuration and functional options shared by every domain module, the github.com/supabase/supabase-go/core/pagination package carries the pagination options the listing calls across the domain modules take, and the github.com/supabase/supabase-go/core/responses package carries the HTTP error type that domain error types embed. This root package holds only the ModulePath identity constants that github.com/supabase/supabase-go/core/configuration.New takes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModulePath

type ModulePath string

ModulePath represents a distinct module within the Supabase Go SDK, where that module is capable of emitting telemetry - that is, where that module can have its interactions with the service observed by the service.

const (
	// ModulePathRoot is the import path for the Supabase Go SDK's convenience
	// entry point module, composed of other domain modules. It is the
	// repository root, and the base of every other module's path.
	ModulePathRoot ModulePath = "github.com/supabase/supabase-go"

	// ModulePathPostgrest is the import path for the Supabase Go SDK's PostgREST
	// client module.
	ModulePathPostgrest ModulePath = ModulePathRoot + "/postgrest"

	// ModulePathAuth is the import path for the Supabase Go SDK's Auth client
	// module.
	ModulePathAuth ModulePath = ModulePathRoot + "/auth"
)

Directories

Path Synopsis
Package configuration provides the shared project configuration and functional options that other Supabase domain modules rely upon.
Package configuration provides the shared project configuration and functional options that other Supabase domain modules rely upon.
internal
telemetry
Package telemetry provides utilities to provide informative and semantically correct data to Supabase services that helps identify this SDK.
Package telemetry provides utilities to provide informative and semantically correct data to Supabase services that helps identify this SDK.
transport
Package transport provides the authenticating HTTP pipeline that other Supabase domain modules are built on.
Package transport provides the authenticating HTTP pipeline that other Supabase domain modules are built on.
Package pagination carries the page-numbered pagination vocabulary the SDK's listing calls take: a page number and a page size, expressed as functional options.
Package pagination carries the page-numbered pagination vocabulary the SDK's listing calls take: a page number and a page size, expressed as functional options.
Package responses provides shared error types.
Package responses provides shared error types.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL