(linkValue string)
| 437 | var linkRE = regexp.MustCompile(`<([^>]+)>;\s*rel="([^"]+)"`) |
| 438 | |
| 439 | func findNextPage(linkValue string) string { |
| 440 | for _, m := range linkRE.FindAllStringSubmatch(linkValue, -1) { |
| 441 | if len(m) > 2 && m[2] == "next" { |
| 442 | return m[1] |
| 443 | } |
| 444 | } |
| 445 | return "" |
| 446 | } |
| 447 | |
| 448 | func (a *API) GetOrgMemberCodespace(ctx context.Context, orgName string, userName string, codespaceName string) (*Codespace, error) { |
| 449 | perPage := 100 |
no outgoing calls
no test coverage detected