---
title: "get-function-return-value"
description: "Require Get-prefixed functions to return values."
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.

# get-function-return-value

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

**Default severity:** `note`

Require Get-prefixed functions to return values.

## Bad

```go
func GetClient() { initializeClient() }
```

## Good

```go
func GetClient() *Client { return client }
```

Source: https://strider.gempir.com/lints/get-function-return-value/index.mdx
