(linkValue string)
| 474 | var linkRE = regexp.MustCompile(`<([^>]+)>;\s*rel="([^"]+)"`) |
| 475 | |
| 476 | func findNextPage(linkValue string) string { |
| 477 | for _, m := range linkRE.FindAllStringSubmatch(linkValue, -1) { |
| 478 | if len(m) > 2 && m[2] == "next" { |
| 479 | return m[1] |
| 480 | } |
| 481 | } |
| 482 | return "" |
| 483 | } |
| 484 | |
| 485 | func (a *API) GetOrgMemberCodespace(ctx context.Context, orgName string, userName string, codespaceName string) (*Codespace, error) { |
| 486 | perPage := 100 |
no outgoing calls
no test coverage detected