---
title: "string-of-int"
description: "Make integer-to-string intent explicit."
image: "https://strider.gempir.com/og.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://strider.gempir.com/llms.txt
> Use this file to discover all available pages before exploring further.

# string-of-int

<!-- Code generated by docs/scripts/generate-check-docs.go; DO NOT EDIT. -->

**Default severity:** `error`

Make integer-to-string intent explicit.

## Bad

```go
text := string(value)
```

## Good

```go
text := strconv.Itoa(value)
```

Source: https://strider.gempir.com/lints/string-of-int/index.mdx
