1package ptrwrite 2 3var gValue = "original" 4 5func GetPtr() *string { return &gValue } 6func GetValue() string { return gValue }