Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
tangenta committed Aug 30, 2022
1 parent e26b41a commit 043ab16
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions util/size/size.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@
package size

const (
// KB is the kilobytes.
KB = uint64(1024)
// MB is the megabytes.
MB = KB * 1024
// GB is the gigabytes.
GB = MB * 1024
// TB is the terabytes.
TB = GB * 1024
// PB is the petabytes.
PB = TB * 1024
)

0 comments on commit 043ab16

Please sign in to comment.