Debian Codegraph @

debian/control

raw
1 Source: golang-github-subosito-gotenv
2 Section: devel
3 Priority: optional
4 Maintainer: Debian Go Packaging Team <[email protected]>
5 Uploaders: Andreas Henriksson <[email protected]>,
6 Anthony Fok <[email protected]>,
7 Build-Depends: debhelper-compat (= 12),
8 dh-sequence-golang,
9 golang-any (>= 2:1.18~),
10 golang-github-stretchr-testify-dev (>= 1.7.0),
11 Standards-Version: 4.6.2
12 Homepage: https://github.com/subosito/gotenv
13 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-subosito-gotenv
14 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-subosito-gotenv.git
15 XS-Go-Import-Path: github.com/subosito/gotenv
16 Testsuite: autopkgtest-pkg-go
17
18 Package: golang-github-subosito-gotenv-dev
19 Architecture: all
20 Multi-Arch: foreign
21 Depends: ${misc:Depends},
22 Description: Load environment variables from `.env` or `io.Reader` in Go.
23 To modify your app environment variables, gotenv expose 2 main functions:
24 * gotenv.Load
25 * gotenv.Apply
26 By default, gotenv.Load will look for a file called .env in the current
27 working directory.
28 .
29 Behind the scene, it will then load .env file and export the valid
30 variables to the environment variables. Make sure you call the method
31 as soon as possible to ensure it loads all variables, say, put it on
32 init() function.
33 .
34 Once loaded you can use os.Getenv() to get the value of the variable.