{"id":63866,"library":"sebdah-goldie","title":"Goldie Golden File Testing","description":"Package goldie provides test assertions based on golden files for testing responses with larger data bodies.","status":"active","version":"1.0.0","language":"go","source_language":null,"source_url":"https://github.com/sebdah/goldie","tags":["testing","golden-files","assertions","snapshot"],"install":[{"cmd":"go get github.com/sebdah/goldie","lang":"bash","label":"Install github.com/sebdah/goldie"}],"dependencies":[],"imports":[{"symbol":"goldie","correct":"github.com/sebdah/goldie"}],"quickstart":{"code":"package main\n\nimport (\n\t\"testing\"\n\t\"github.com/sebdah/goldie\"\n)\n\nfunc TestSomething(t *testing.T) {\n\tactual := []byte(\"expected output\")\n\tgoldie.Assert(t, \"testname\", actual)\n}","lang":"go","description":"Asserts that actual output matches a golden file."},"warnings":[],"env_vars":null,"search_vec":"'assert':9,25 'base':10 'bodi':20 'data':19 'file':3,13,24 'golden':2,12,23 'golden-fil':22 'goldi':1,6 'larger':18 'packag':5 'provid':7 'respons':16 'snapshot':26 'test':4,8,15,21","created_at":"2026-06-17T16:48:43.438526+00:00","updated_at":"2026-06-17T16:48:43.438526+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/sebdah/goldie","github":"https://github.com/sebdah/goldie","docs":"https://pkg.go.dev/github.com/sebdah/goldie#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}