Suppose you are working with func, which returns a bool regarding whether the user was active last month.
In Ruby:
def active_in_last_month?;end
In c #
public bool WasActiveInLastMonth(){}
What is the idiomatic way of naming logical functions of a predicate in Go?
Usually you setter with 'set'
WasActiveInLastMonth() { return wasActiveInLastMonth } SetWasActiveInLastMonth(newVal bool) { wasActiveInLastMonth = newval }
if you have a private field wasActiveInLastMonth
wasActiveInLastMonth