1
0
mirror of https://github.com/golang/go synced 2024-09-29 10:24:34 -06:00

update note

This commit is contained in:
csuzhang 2023-01-09 09:42:53 +08:00
parent 1e4b7a38dd
commit e57dd3e1ab

View File

@ -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) {