scope

package
v1.7.10 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// AvailableScopeTypes ...
	AvailableScopeTypes = Types{
		SIREN,
		SIRET,
	}

	// SIREN ...
	SIREN = Type{Code: "f0", Name: "SIREN"}

	// SIRET ...
	SIRET = Type{Code: "f1", Name: "SIRET"}
)

Functions

This section is empty.

Types

type Type

type Type struct {
	Code string
	Name string
}

Type defines the type of the scope value, eg. the SIRET code of a French company.

type Types

type Types []Type

Types ...

func (Types) Contains

func (sst Types) Contains(code string) (st Type, ok bool)

Contains ...

Jump to

Keyboard shortcuts

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