Skip to content

Commit

Permalink
doc: add comments (#64)
Browse files Browse the repository at this point in the history
Signed-off-by: chenquan <chenquan.dev@gmail.com>
  • Loading branch information
chenquan authored Feb 11, 2022
1 parent 176f74b commit 1b4ab76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xonce/once.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ package xonce

// Once represents an interface that can only be written too once.
type Once interface {
// Write writes a v.
Write(v interface{}) (success bool)
}

0 comments on commit 1b4ab76

Please sign in to comment.