codegen

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package codegen provides a function for generating migration files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(outputDir, fileName, packageName string) error

Generate creates a new ClickHouse table file.

Types

type Config

type Config struct {
	// fileName is the name of the migration file.
	FileName string
}

Config is the configuration for the migration generator.

Jump to

Keyboard shortcuts

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