csv2postgres

package module
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: MIT Imports: 9 Imported by: 0

README

csv2postgres

Golang code generator for importing CSV to PostgreSQL with fun features

Features

  • Importing data from CSV to PostgreSQL
  • Create tables based on CSV data
  • Create additional views
  • Export from PostgreSQL to CSV
  • Manage dependencies between tables and views

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	BaseImportPath string
	OutDir         string
	Specs          []string
}

Generator specifies the generator configurations.

func (Generator) Generate

func (g Generator) Generate() error

Generate generates source codes based on spec

Directories

Path Synopsis
internal
box

Jump to

Keyboard shortcuts

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