Skip to content

Commit

Permalink
Readme formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
  • Loading branch information
Janos Bonic committed Jul 24, 2024
1 parent 2c31eeb commit 7123b31
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,18 @@ func main() {
}

// Set up the caching layer:
storage, err := tofudl.NewFilesystemStorage("/tmp")
if err != nil {
panic(err)
storage, err := tofudl.NewFilesystemStorage("/tmp")
if err != nil {
panic(err)
}
mirror, err := tofudl.NewMirror(
tofudl.MirrorConfig{
tofudl.MirrorConfig{
AllowStale: false,
APICacheTimeout: time.Minute * 10,
ArtifactCacheTimeout: time.Hour * 24,
},
storage,
dl,
storage,
dl,
)
if err != nil {
panic(err)
Expand Down

0 comments on commit 7123b31

Please sign in to comment.