---
title: "dot-imports"
description: "Discourage dot imports."
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.

# dot-imports

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

**Default severity:** `warning`

Discourage dot imports. Default: no allowed packages.

## Bad

```go
import . "fmt"
Println(message)
```

## Good

```go
import "fmt"
fmt.Println(message)
```

Source: https://strider.gempir.com/lints/dot-imports/index.mdx
