You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2022/05/25 16:21:26 UTC

[GitHub] [trafficcontrol] ocket8888 commented on pull request #6852: Move duplicate rand functionality to test rand

ocket8888 commented on PR #6852:
URL: https://github.com/apache/trafficcontrol/pull/6852#issuecomment-1137496464

   You could make use of [the `github.com/apache/trafficcontrol/lib/go-util` package](https://pkg.go.dev/github.com/apache/trafficcontrol/lib/go-util)'s functions `IntPtr`, `StrPtr`, etc. So it'd be
   ```go
   ...
   Fqdn:   util.StrPtr(test.RandString())
   ...
   ```
   no forward declaration required


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org