Skip to content

Commit

Permalink
Add go modules support
Browse files Browse the repository at this point in the history
  • Loading branch information
ncw committed Jun 26, 2023
1 parent 6a06707 commit 6564fd8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ If you want to modify the sources, it is recommended to check out the repository

git clone https://github.com/ncw/stressdisk.git
cd stressdisk
go mod init github.com/ncw/stressdisk
go build .

You can then modify the source, rebuild as needed, and submit patches.
Expand Down
5 changes: 5 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module github.com/ncw/stressdisk

go 1.12

require github.com/ncw/directio v1.0.5
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/ncw/directio v1.0.5 h1:JSUBhdjEvVaJvOoyPAbcW0fnd0tvRXD76wEfZ1KcQz4=
github.com/ncw/directio v1.0.5/go.mod h1:rX/pKEYkOXBGOggmcyJeJGloCkleSvphPx2eV3t6ROk=

0 comments on commit 6564fd8

Please sign in to comment.