func (c *Client) ListMyOrgs(opt ListOrgsOptions) ([]*Organization, *Response, error) {
	opt.setDefaults()
	orgs := make([]*Organization, 0, opt.PageSize)
	resp, err := c.getParsedResponse("GET", fmt.Sprintf("/user/orgs?%s", opt.getURLQuery().Encode()), nil, nil, &orgs)
	return orgs, resp, err
}
ListMyOrgs list all of current user's organizations
package gitea
import (
	"bytes"
	"encoding/json"
	"fmt"
)
type Organization struct {
	ID          int64  `json:"id"`
	UserName    string `json:"username"`
	FullName    string `json:"full_name"`
	AvatarURL   string `json:"avatar_url"`
	Description string `json:"description"`
	Website     string `json:"website"`
	Location    string `json:"location"`
	Visibility  string `json:"visibility"`
}
type VisibleType string
const (
	VisibleTypePublic VisibleType = "public"
	VisibleTypeLimited VisibleType = "limited"
	VisibleTypePrivate VisibleType = "private"
)
type ListOrgsOptions struct {
	ListOptions
}