func (termGroups *TermGroups) Get() ([]map[string]interface{}, error) {
	b := termGroups.csomEntry.Clone()
	b.AddAction(csom.NewQueryWithProps([]string{
		`<Property Name="Groups" SelectAll="true" />`,
	}), nil)
	return csomRespChildItemsInProp(termGroups.client, termGroups.endpoint, termGroups.config, b, "Groups")
}
Get gets term groups metadata
package api
import (
	"fmt"
	"strings"
	"github.com/koltyakov/gosip/csom"
)
type TermGroups struct {
	client   *HTTPClient
	config   *RequestConfig
	endpoint string
	csomEntry csom.Builder
}