@@ -16,6 +16,7 @@ import gleam/dict.{type Dict}
16
16
/// // ])
17
17
/// ```
18
18
///
19
+ @ deprecated ( "Please use the envoy package instead" )
19
20
@ external ( erlang , "gleam_erlang_ffi" , "get_all_env" )
20
21
pub fn get_all_env ( ) -> Dict ( String , String )
21
22
@@ -32,6 +33,7 @@ pub fn get_all_env() -> Dict(String, String)
32
33
/// // -> "/home/j3rn"
33
34
/// ```
34
35
///
36
+ @ deprecated ( "Please use the envoy package instead" )
35
37
@ external ( erlang , "gleam_erlang_ffi" , "get_env" )
36
38
pub fn get_env ( name name : String ) -> Result ( String , Nil )
37
39
@@ -53,6 +55,7 @@ pub fn get_env(name name: String) -> Result(String, Nil)
53
55
/// // -> "MYVALUE"
54
56
/// ```
55
57
///
58
+ @ deprecated ( "Please use the envoy package instead" )
56
59
@ external ( erlang , "gleam_erlang_ffi" , "set_env" )
57
60
pub fn set_env ( name name : String , value value : String ) -> Nil
58
61
@@ -77,6 +80,7 @@ pub fn set_env(name name: String, value value: String) -> Nil
77
80
/// get_env("MYVAR")
78
81
/// // -> Error(Nil)
79
82
/// ```
83
+ @ deprecated ( "Please use the envoy package instead" )
80
84
@ external ( erlang , "gleam_erlang_ffi" , "unset_env" )
81
85
pub fn unset_env ( name name : String ) -> Nil
82
86
0 commit comments