Gofumpt Plugin

Adapter plugin that formats Go code via gofumpt.

Formats .go files.

Install and Setup

In your project's directory with a dprint.json file, run:

dprint add jakebailey/gofumpt

This will update your config file to have an entry for the plugin. Then optionally specify a "gofumpt" property to add configuration:

{
  "gofumpt": {
    // gofumpt config goes here
  },
  "plugins": [
    "https://plugins.dprint.dev/jakebailey/gofumpt-vx.x.x.wasm"
  ]
}

Configuration

See Configuration