lint

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 5 Imported by: 0

README

goa-lint-plugin

Usage

// design/lint.go
package design

import (
    lint "github.com/NagayamaRyoga/goa-lint-plugin"
)

var _ = lint.Configure(func(c *lint.Config) {
    // ...
})

Documentation

Index

Constants

View Source
const (
	CamelCase    = casing.CamelCase
	PascalCase   = casing.PascalCase
	SnakeCase    = casing.SnakeCase
	KebabCase    = casing.KebabCase
	GoCamelCase  = casing.GoCamelCase
	GoPascalCase = casing.GoPascalCase
	GoSnakeCase  = casing.GoSnakeCase
	GoKebabCase  = casing.GoKebabCase
)

Variables

This section is empty.

Functions

func Configure

func Configure(f ConfiguratorFunc) struct{}

func Generate

func Generate(genpkg string, roots []eval.Root, files []*codegen.File) ([]*codegen.File, error)

func Prepare

func Prepare(genpkg string, roots []eval.Root) error

Types

type Config

type Config = config.Config

type ConfiguratorFunc

type ConfiguratorFunc func(*Config)
var Configurator ConfiguratorFunc

type Initialisms

type Initialisms = casing.Initialisms

type WordCase

type WordCase = casing.WordCase

Jump to

Keyboard shortcuts

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