Error Get annotations from endpoints

Hello everyone, I am starting in kubernetes and I have a couple of questions about the use of the api.

I have created a deployment and assigned a series of “annotations”. My idea is, thanks to the go client, to get the values ​​of the annotations. But when I make that call to the api this is what returns me:

map[endpoints.kubernetes.io/last-change-trigger-time:2020-06-24T13:40:16Z]

My function:

func GetJSONnftlbFromEndpoints(endpoints *v1.Endpoints) types.Json {
// Get Annotations
Annotations := map[string]string{}
Annotations = endpoints.ObjectMeta.Annotations
fmt.Println("-- Annotations endpoint")
fmt.Println(Annotations)
fmt.Println("\n")

}

Can you explain to me what I’m doing wrong exactly, I attach links to the kubernetes api: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#objectmeta-v1-meta