Discover Packages
github.com/retgits/flogo-components/activity/addtodate
package
module
Version:
v0.0.0-...-dceaa68
Opens a new window with list of versions in this module.
Published: Sep 29, 2020
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
addtodate
addtodate provides your Flogo app the ability to add a specified number of units (days, months, or years) to a date
Settings
No settings available
Input
Description
Date
start date to add the units to
Number
amount of units to add to the date
Units
string representation of what needs to be added (days, months, or years)
Outputs
No outputs available
Expand ▾
Collapse ▴
Documentation
¶
Package addtodate provides your Flogo app the ability to add a specified number of units (days, months, or years) to a date
New creates a new AddToDate activity
Activity is an AddToDate Activity implementation
Eval executes the activity
Metadata return the metadata for the activity
type Input struct {
Date string `md:"date"`
Number int `md:"number"`
Units string `md:"number"`
}
Input is the input into the AddToDate activity
FromMap converts the values from a map into the struct Input
ToMap converts the struct Input into a map
type Output struct {
Result string `md:"result"`
}
Output is the result of the AddToDate activity
FromMap converts the values from a map into the struct Output
ToMap converts the struct Output into a map
Source Files
¶
Click to show internal directories.
Click to hide internal directories.