mirror of
https://github.com/golang/go
synced 2024-09-29 06:14:29 -06:00
update note
This commit is contained in:
parent
1e4b7a38dd
commit
e57dd3e1ab
@ -41,7 +41,7 @@ func (v *Value) Load() (val any) {
|
||||
|
||||
var firstStoreInProgress byte
|
||||
|
||||
// Store sets the val to v.
|
||||
// Store sets the value of the Value v to val.
|
||||
// All calls to Store for a given Value must use values of the same concrete type.
|
||||
// Store of an inconsistent type panics, as does Store(nil).
|
||||
func (v *Value) Store(val any) {
|
||||
|
Loading…
Reference in New Issue
Block a user