Skip to content

Commit

Permalink
examples: fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
ss89 committed Dec 28, 2021
1 parent d83eefe commit 994117d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions examples/getting_started/integration/fixtures.go
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
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 {
Name string
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,
},
Expand Down

0 comments on commit 994117d

Please sign in to comment.