crediting golang