toLog

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: BSD-3-Clause Imports: 7 Imported by: 0

README

toLog

Overview

Description

Writes input data to stdout by default if path provided write to file

Implementation details

Input data - any : data to be written Optional = False Params toFilePath - string : file path to log file, if provided data will be written to file at the provided path Default" = False Optional" = True

OutputType - none

Compliance to Spec

Rough level of compliance

100%

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Input

type Input struct {
	Data interface{} `md:"data"`
}

func (*Input) FromMap

func (i *Input) FromMap(values map[string]interface{}) error

type Operation

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

func (*Operation) Eval

func (operation *Operation) Eval(inputs map[string]interface{}) (interface{}, error)

type Params

type Params struct {
	ToFilePath      string `md:"toFilePath"`
	ClearWhileStart bool   `md:"clearWhileStart"`
}

Jump to

Keyboard shortcuts

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