Configure go mode hook