Skip to content

Conversation

omarismail
Copy link

Description

This PR adds the ability to handle a map[string][]string type for jsonapi.

type HeaderData struct {
	ID      string              `jsonapi:"primary,header-data"`
	Name    string              `jsonapi:"attr,name"`
	Headers map[string][]string `jsonapi:"attr,headers"`
}

@omarismail omarismail requested a review from a team March 26, 2021 15:26
@omarismail omarismail changed the title Omarismail/add map slice type Add handler for map slice type Mar 26, 2021
@omarismail omarismail merged commit 166ae20 into master Mar 26, 2021
@omarismail omarismail deleted the omarismail/add-map-slice-type branch March 26, 2021 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants