From 994117d999d8802b0d338c81f6a855305d32d82a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Stru=C3=9F?= Date: Tue, 28 Dec 2021 12:05:00 +0100 Subject: [PATCH] examples: fix example --- examples/getting_started/integration/fixtures.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/examples/getting_started/integration/fixtures.go b/examples/getting_started/integration/fixtures.go index 257d66808..d2704c718 100644 --- a/examples/getting_started/integration/fixtures.go +++ b/examples/getting_started/integration/fixtures.go @@ -1,7 +1,8 @@ package integration import ( - gosoFixtures "github.com/justtrackio/gosoline/pkg/fixtures" + "github.com/justtrackio/gosoline/pkg/fixtures/writers" + "github.com/justtrackio/gosoline/pkg/fixtures/writers/kvstore" ) type NamedFixture struct { @@ -9,16 +10,16 @@ type NamedFixture struct { Value interface{} } -var fixtureSets = []*gosoFixtures.FixtureSet{ +var fixtureSets = []*writers.FixtureSet{ { Enabled: true, - Writer: gosoFixtures.ConfigurableKvStoreFixtureWriterFactory("currency"), + Writer: kvstore.ConfigurableKvStoreFixtureWriterFactory("currency"), Fixtures: []interface{}{ - &gosoFixtures.KvStoreFixture{ + &kvstore.KvStoreFixture{ Key: "GBP", Value: 1.25, }, - &gosoFixtures.KvStoreFixture{ + &kvstore.KvStoreFixture{ Key: "2021-01-03-GBP", Value: 0.8, },