title: Date range by week number Golang
body: <p>With this simple function, I can get the week number. Now, with the number of the week, how can I get the date range, started on Sunday?</p>
  <pre><code>import (
      &quot;fmt&quot;
      &quot;time&quot;
  )
  func main() {
      Week(time.Now().UTC())
  }
  
  func Week(now time.Time) string {
      _, thisWeek := now.ISOWeek()
      return &quot;S&quot; + strconv.Itoa(thisWeek)
  }
  </code></pre>