example for the go pkg's function