url.go 192 B

1234567891011
  1. package param
  2. import "context"
  3. func GetHttpsUrl(c context.Context) string {
  4. httpsUrl := c.Value("https_url")
  5. if _, ok := httpsUrl.(string); ok {
  6. return httpsUrl.(string)
  7. }
  8. return ""
  9. }