Golang_HomeWork/hw08_envdir_tool/env_reader.go

11 lines
313 B
Go

package main
type Environment map[string]string
// ReadDir reads a specified directory and returns map of env variables.
// Variables represented as files where filename is name of variable, file first line is a value.
func ReadDir(dir string) (Environment, error) {
// Place your code here
return nil, nil
}