mirror of
https://github.com/golang/go
synced 2024-11-17 06:04:47 -07: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
|
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.
|
// 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).
|
// Store of an inconsistent type panics, as does Store(nil).
|
||||||
func (v *Value) Store(val any) {
|
func (v *Value) Store(val any) {
|
||||||
|
Loading…
Reference in New Issue
Block a user