---
title: "confusing-naming"
description: "Reject declarations whose names differ only by capitalization."
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.

# confusing-naming

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

**Default severity:** `error`

Reject declarations whose names differ only by capitalization. Default: methods and fields.

## Bad

```go
type User struct { ID string; Id string }
```

## Good

```go
type User struct { ID string; Name string }
```

Source: https://strider.gempir.com/lints/confusing-naming/index.mdx
