package core import ( "net/http" ) // TestServer encapsula un servidor HTTP de test con su cliente y cleanup. type TestServer struct { URL string Client *http.Client Cleanup func() }