Go based indexof framework