---
title: "Discussion on \"How to fix the \"fieldalignment: struct with 32 pointer bytes could be 24 (govet)\"\" | Hashnode"
description: "Discussion on \"How to fix the \"fieldalignment: struct with 32 pointer bytes could be 24 (govet)\"\". Crash course in fixing a frustrating \"fieldalignment\" Golang linter issue"
url: "https://hashnode.com/posts/how-to-fix-the-fieldalignment-struct-with-32-pointer-bytes-could-be-24-govet/65d235d395a0b5a6a213fdd2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to fix the "fieldalignment: struct with 32 pointer bytes could be 24 (govet)"](https://blog.skopow.ski/how-to-fix-the-fieldalignment-struct-with-32-pointer-bytes-could-be-24-govet?utm_source=hashnode&utm_medium=feed)

Crash course in fixing a frustrating "fieldalignment" Golang linter issue

Feb 18, 2024 · 2 min read · blog.skopow.ski  
Updated Mar 19, 2024  
Read the article

-   [#golang](https://hashnode.com/tag/golang)
-   [#linter](https://hashnode.com/tag/linter)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#tips-for-developers](https://hashnode.com/tag/tips-for-developers)

## Written by

[Marek Skopowski](https://hashnode.com/@flashlabs)

@flashlabs

  
[View profile](https://hashnode.com/@flashlabs)

Keep It Simple, Stupid!

Software Engineer &amp; Architect - building backend systems and practical AI workflows.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
