13func (o *osEnv) Get(key string) string {
17func (o *osEnv) Env() []string {
34func (m *mapEnv) Get(key string) string {
35 if value, ok := m.m[key]; ok {
42func (m *mapEnv) Env() []string {
46 env := make([]string, 0, len(m.m))
47 for k, v := range m.m {
48 env = append(env, k+"="+v)
53func NewFromMap(m map[string]string) Env {
55 m = make(map[string]string)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list