Hey I'm new to Go syntax. How would I use this function? The part that is throwing me is the pointer at the beginning of the function declaration?
func (p *Pointer) FunctionName(arg string) error {
dec := json.NewDecoder(strings.NewReader(arg))
err := dec.Decode(&p)
return err
}