Skip to content

Commit

Permalink
Merge pull request #1359 empty types are aliases now
Browse files Browse the repository at this point in the history
  • Loading branch information
rekby authored Jul 24, 2024
2 parents bb1fee1 + a558e56 commit c12b35d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/empty/empty.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package empty
import "sync"

type (
Chan chan struct{}
ChanReadonly <-chan struct{}
Struct struct{}
Chan = chan struct{}
ChanReadonly = <-chan struct{}
Struct = struct{}
)

// DoNotCopy can be embedded in a struct to help prevent shallow copies.
Expand Down

0 comments on commit c12b35d

Please sign in to comment.