Inter-functional data transfer

I have 2 functions and according to the result of my 2nd function, I want my 1st function to perform an operation. Is there a solution for this in GoLang?


1-Function: It fetches forum urls on a system that scans forums.
2-Function: It scans forum threads and takes time to post last.

My goal: If the last post date of the forum thread is more than 1 year, I want to terminate the browsing and search for the other forum link. So according to the data I got from my 2nd function, I want to call my 1st function “contuine”.

Thanks for your help in advance.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.