Skip to content

Commit

Permalink
Updating dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kenshaw committed Jan 7, 2024
1 parent 35af001 commit 103b60f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 450 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015-2023 Kenneth Shaw
Copyright (c) 2015-2024 Kenneth Shaw

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"github.com/kenshaw/diskcache"
)

// ExampleNew demonstrates setting up a simple diskcache for use with a
// Example demonstrates setting up a simple diskcache for use with a
// http.Client.
func ExampleNew() {
func Example() {
// set up simple test server for demonstration
s := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) {
res.Header().Set("content-type", "text/html")
Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ go 1.19

require (
github.com/gobwas/glob v0.2.3
github.com/spf13/afero v1.10.0
github.com/tdewolff/minify/v2 v2.20.6
github.com/spf13/afero v1.11.0
github.com/tdewolff/minify/v2 v2.20.12
github.com/yookoala/realpath v1.0.0
)

require (
github.com/tdewolff/parse/v2 v2.7.4 // indirect
golang.org/x/text v0.8.0 // indirect
github.com/tdewolff/parse/v2 v2.7.7 // indirect
golang.org/x/text v0.14.0 // indirect
)
Loading

0 comments on commit 103b60f

Please sign in to comment.