You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
306 B
16 lines
306 B
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"gitlab.com/cyclops-utilities/date-utils/cyclops_utils"
|
|
|
|
)
|
|
|
|
func main() {
|
|
err, from, to := cyclops_utils.GetReportingPeriod("2019-10-01")
|
|
if err != nil {
|
|
fmt.Errorf("Error in processing input: %s", err.Error())
|
|
} else {
|
|
fmt.Printf("From: %s, To: %s\n", from, to);
|
|
}
|
|
} |