I am using the azure devops package for go, to query a list of service endpoints.
I call the function: func (client ClientImpl) GetServiceEndpoints(ctx context.Context, args GetServiceEndpointsArgs) ([]ServiceEndpoint, error)
The return type of serviceendpoint is defined as below
As you can see each value in the array contains a piece of the actual ID in azure devops.
CodePudding user response:
The UUID type has a String method:
func (uuid UUID) String() string