The Wayback Machine - http://web.archive.org/web/20210907013713/https://github.com/topics/format
Skip to content
#

format

Here are 669 public repositories matching this topic...

EugeneOne1
EugeneOne1 commented Sep 1, 2021

It seems gofumpt doesn't consider the beginning of the functions with multi-line parameters list and single line returning values list.

Steps to reproduce:

  1. Create a .go file containing the following lines:
package main

func someName(
	a string,
) (err error) {

	if a == "" {
		return nil
	}

	// Perform some stuff.

	return nil
}
  1. Run `gofumpt -w <filenam

Bash script to format a block device (hard drive or Flash drive) in UDF. The output is a drive that can be used for reading/writing across multiple operating system families: Windows, macOS, and Linux. This script should be capable of running in macOS or in Linux.

  • Updated Feb 23, 2020
  • Shell

Improve this page

Add a description, image, and links to the format topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the format topic, visit your repo's landing page and select "manage topics."

Learn more