funcliner

package module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2024 License: MIT Imports: 5 Imported by: 0

README

funcliner

Golang linter for check func params on one line or each params.

Install

See releases or go install github.com/lasiar/funcliner/cmd/funcliner@latest

Example

before

package main

func f(
	p1, p2 int,
	p3 bool,
) {}

after

package main

func f(
	p1,
	p2 int,
	p3 bool,
) {}

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:     "funcliner",
	Doc:      "funcliener checks params func on a same line or on a separate line",
	Run:      run,
	Requires: []*analysis.Analyzer{inspect.Analyzer},
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL