writer

package
v0.0.0-...-6cdc21d Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package writer provides table definition writer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

type Writer struct{}

Writer describes table writer.

func New

func New() *Writer

New returns new Writer.

func (*Writer) Write

func (w *Writer) Write(fs afero.Fs, tableName, directory string, fn func(string)) error

Write generates a new table definition file and writes it to specified directory.

Jump to

Keyboard shortcuts

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