Closed pmenglund closed 2 years ago
I'm writing a test for my shared link unfurler, and the LinkSharedEvent struct has a field Links which is an array of sharedLinks.
LinkSharedEvent
Links
sharedLinks
https://github.com/slack-go/slack/blob/9de73cee5f30be540fd051e94c3753c6d89ea905/slackevents/inner_events.go#L185-L188
The sharedLinks type should be exported.
Try to create a LinkSharedEvent with a list of Links:
e := slackevents.LinkSharedEvent{ Links: []slackevents.sharedLinks{}, }
What happened
I'm writing a test for my shared link unfurler, and the
LinkSharedEvent
struct has a fieldLinks
which is an array ofsharedLinks
.https://github.com/slack-go/slack/blob/9de73cee5f30be540fd051e94c3753c6d89ea905/slackevents/inner_events.go#L185-L188
Expected behavior
The
sharedLinks
type should be exported.Steps to reproduce
reproducible code
Try to create a
LinkSharedEvent
with a list ofLinks
:Versions