cksumfly

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2019 License: MIT Imports: 8 Imported by: 0

README

cksumfly

MIT License

Description

Print CRC checksum for flyway of each FILE.

Installation

% go get github.com/vvatanabe/cksumfly/cmd/cksumfly/

Synopsis

% cksumfly /path/to/foo.sql
% cksumfly --path /path/to/foo.sql
% cat /path/to/foo.sql | cksumfly

Options

Options
  -p, --path= .sql file path

Bugs and Feedback

For bugs, questions and discussions please use the GitHub Issues.

Author

vvatanabe

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checksum added in v0.0.2

func Checksum(bytes []byte) int32

Types

type CLI

type CLI struct {
	OutStream, ErrStream io.Writer
}

func (*CLI) Run

func (cli *CLI) Run(argv []string) int

type Cksumfly

type Cksumfly struct {
	FilePath  string `short:"p" long:"path" description:".sql file path"`
	OutStream io.Writer
}

func (*Cksumfly) Run

func (c *Cksumfly) Run() error

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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