Last active
October 25, 2021 16:01
-
-
Save jayhuang75/020d7bc53f12137d6a47a18043db7e05 to your computer and use it in GitHub Desktop.
go-train-delay-run.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func (a *App) Run(total int64) ([]DelayDataSet, error) { | |
| // get the User email list | |
| email_list, err := a.getUserEmailList(total) | |
| if err != nil { | |
| return nil, err | |
| } | |
| // processing the email get dataset | |
| delayDataSet, err := a.processEmail(email_list, total) | |
| if err != nil { | |
| return nil, err | |
| } | |
| return delayDataSet, nil | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment