Help us shape the future of Go! Take the 2026 Go Developer Survey

datasource

package
v1.96.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 57 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Analyze

func Analyze(dsn config.DSN) (_ *schema.Schema, err error)

Analyze database.

func AnalyzeAzureSQL added in v1.96.0

func AnalyzeAzureSQL(dsn config.DSN) (_ *schema.Schema, err error)

func AnalyzeBigquery added in v1.28.0

func AnalyzeBigquery(urlstr string) (*schema.Schema, error)

AnalyzeBigquery analyze `bq://`

func AnalyzeDatabricks added in v1.88.0

func AnalyzeDatabricks(urlstr string) (_ *schema.Schema, err error)

func AnalyzeDynamodb added in v1.28.0

func AnalyzeDynamodb(urlstr string) (*schema.Schema, error)

AnalizeDynamodb analyze `dynamodb://`

func AnalyzeGitHubContent added in v1.60.0

func AnalyzeGitHubContent(dsn config.DSN) (_ *schema.Schema, err error)

AnalyzeGitHubContent analyze `github://`

func AnalyzeHTTPResource added in v1.29.3

func AnalyzeHTTPResource(dsn config.DSN) (_ *schema.Schema, err error)

AnalyzeHTTPResource analyze `https://` or `http://`

func AnalyzeJSON added in v1.28.0

func AnalyzeJSON(urlstr string) (_ *schema.Schema, err error)

AnalyzeJSON analyze `json://`

func AnalyzeJSONString added in v1.34.1

func AnalyzeJSONString(str string) (*schema.Schema, error)

Deprecated.

func AnalyzeJSONStringOrFile added in v1.38.2

func AnalyzeJSONStringOrFile(strOrPath string) (s *schema.Schema, err error)

AnalyzeJSONStringOrFile analyze JSON string or JSON file.

func AnalyzeMongodb added in v1.55.0

func AnalyzeMongodb(urlstr string) (*schema.Schema, error)

AnalyzeMongodb analyze `mongodb://`

func AnalyzeSpanner added in v1.28.0

func AnalyzeSpanner(urlstr string) (*schema.Schema, error)

AnalyzeSpanner analyze `spanner://`

func AnalyzeWithExtDriver added in v1.81.0

func AnalyzeWithExtDriver(urlstr string) (*schema.Schema, error)

AnalyzeWithExtDriver analyze with external driver command.

func NewBigqueryClient added in v1.35.0

func NewBigqueryClient(ctx context.Context, urlstr string) (*bigquery.Client, string, string, error)

NewBigqueryClient returns new bigquery.Client.

func NewSpannerClient added in v1.51.0

func NewSpannerClient(ctx context.Context, urlstr string) (*cloudspanner.Client, string, error)

NewSpannerClient returns new cloudspanner.Client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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