app

package
v0.0.0-...-920ac04 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: MIT Imports: 20 Imported by: 1

Documentation

Index

Constants

View Source
const AppTitle = "CSVToExcelGraph"

AppTitle アプリケーション名

View Source
const Newline = "\r\n"

Newline 改行コードの指定

Variables

This section is empty.

Functions

func CreateGraph

func CreateGraph(c *config.Config, rp string) (string, error)

CreateGraph グラフ生成メイン処理呼び出し

func Cui

func Cui(ctx context.Context, cdir string) error

Cui CUI用メイン処理

func GetLog

func GetLog() *zap.SugaredLogger

GetLog アプリ部で使用するロガーの取得

func Gui

func Gui(ctx context.Context, cdir string) error

Gui GUI用メイン処理

func UpdateLogger

func UpdateLogger(out io.Writer)

UpdateLogger ロガーの出力先を変更する

Types

type CSVReducer

type CSVReducer struct {
	// contains filtered or unexported fields
}

CSVReducer csvデータ削減用構造体

func NewCSVReducer

func NewCSVReducer(c *config.Config) *CSVReducer

NewCSVReducer CSV間引き用構造体生成

type MyMainWindow

type MyMainWindow struct {
	*walk.MainWindow
	// contains filtered or unexported fields
}

MyMainWindow メインウインドウ構造体

func (*MyMainWindow) CreateDialog

func (mmw *MyMainWindow) CreateDialog(ctx context.Context) error

CreateDialog ダイアログ生成

func (*MyMainWindow) CreateGraph

func (mmw *MyMainWindow) CreateGraph(rp string)

CreateGraph GUI側グラフ生成関数読み出し

func (*MyMainWindow) OnDropFiles

func (mmw *MyMainWindow) OnDropFiles(files []string)

OnDropFiles ドロップイベントハンドラ

func (*MyMainWindow) OnInitDialog

func (mmw *MyMainWindow) OnInitDialog(args ...interface{}) (interface{}, error)

OnInitDialog ダイアログ生成時に呼び出される

func (*MyMainWindow) ReadConfigName

func (mmw *MyMainWindow) ReadConfigName(name string)

ReadConfigName 設定ファイル読み込み

func (*MyMainWindow) Write

func (mmw *MyMainWindow) Write(b []byte) (n int, err error)

type ScanWriteCloser

type ScanWriteCloser interface {
	io.StringWriter
	io.Writer
	io.Closer
	Err() error
	Scan() bool
	Text() string
}

ScanWriteCloser 読み書き用

func NewScanWriteCloser

func NewScanWriteCloser(rp, wp string) (ScanWriteCloser, error)

NewScanWriteCloser ScanWriteCloser生成用

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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