Debian Codegraph @

debian/control

raw
1 Source: golang-github-lestrrat-go-option
2 Section: golang
3 Maintainer: Debian Go Packaging Team <[email protected]>
4 Uploaders: Mathias Gibbens <[email protected]>
5 Build-Depends: debhelper-compat (= 13),
6 dh-sequence-golang,
7 golang-any,
8 golang-github-lestrrat-go-blackmagic-dev,
9 golang-github-stretchr-testify-dev
10 Testsuite: autopkgtest-pkg-go
11 Standards-Version: 4.7.3
12 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-lestrrat-go-option
13 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-lestrrat-go-option.git
14 Homepage: https://github.com/lestrrat-go/option
15 XS-Go-Import-Path: github.com/lestrrat-go/option
16
17 Package: golang-github-lestrrat-go-option-dev
18 Architecture: all
19 Multi-Arch: foreign
20 Breaks: golang-github-lestrrat-go-backoff-dev (<= 2.0.8-5~),
21 golang-github-lestrrat-go-httprc-dev (<< 3.0.0),
22 golang-github-lestrrat-go-jwx-dev (<< 3.0.0~)
23 Depends: golang-github-lestrrat-go-blackmagic-dev,
24 golang-github-stretchr-testify-dev,
25 ${misc:Depends}
26 Description: Implementation of the "Optional Parameters Pattern" (library)
27 Base object for the "Optional Parameters Pattern".
28 .
29 The beauty of this pattern is that you can achieve a method that can
30 take the following simple calling style
31 .
32 obj.Method(mandatory1, mandatory2)
33 .
34 or the following, if you want to modify its behavior with optional
35 parameters
36 .
37 obj.Method(mandatory1, mandatory2, optional1, optional2, optional3)