Debian Codegraph @

debian/control

raw
1 Source: golang-github-creasty-defaults
2 Section: golang
3 Priority: optional
4 Maintainer: Debian Go Packaging Team <[email protected]>
5 Uploaders: Daniel Milde <[email protected]>
6 Rules-Requires-Root: no
7 Build-Depends: debhelper-compat (= 13),
8 dh-sequence-golang,
9 golang-any
10 Testsuite: autopkgtest-pkg-go
11 Standards-Version: 4.6.2
12 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-creasty-defaults
13 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-creasty-defaults.git
14 Homepage: https://github.com/creasty/defaults
15 XS-Go-Import-Path: github.com/creasty/defaults
16
17 Package: golang-github-creasty-defaults-dev
18 Architecture: all
19 Multi-Arch: foreign
20 Depends: ${misc:Depends}
21 Description: Initialize structs with default values (library)
22 Initialize structs with default values
23 .
24 * Supports almost all kind of types
25 * Scalar types
26 * int/8/16/32/64, uint/8/16/32/64, float32/64
27 * uintptr, bool, string
28 * Complex types
29 * map, slice, struct
30 * Nested types
31 * map[K1]map[K2]Struct, []map[K1]Struct[]
32 * Aliased types
33 * time.Duration
34 * e.g., type Enum string
35 * Pointer types
36 * e.g., *SampleStruct, *int
37 .
38 * Recursively initializes fields in a struct
39 * Dynamically sets default values by defaults.Setter (/setter.go)
40 interface
41 * Preserves non-initial values from being reset with a default value