How To Pass A Function As An Argument Using A Higher-Order Function In Go?