codegen

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package codegen provides the code generation functionality for converting VSPEC signals to Go structs and ClickHouse tables.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureDir

func EnsureDir(dir string) error

EnsureDir ensures the output directory exists.

func FormatAndWriteToFile

func FormatAndWriteToFile(goData []byte, outputFilePath string) (err error)

FormatAndWriteToFile formats the go source with goimports and writes it to the output file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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