README ¶ 列表配置文件.list func main() { filename := fmt.Sprintf("%s%s", os.Args[0], ".list") conf, err := config_list.Parse(`^[a-z0-9]+.+[a-z0-9]+$`, filename) if err != nil { fmt.Fprintf(os.Stderr, "Error: %s\n", err) os.Exit(1) } fmt.Println(conf) } Expand ▾ Collapse ▴ Documentation ¶ Overview ¶ * Create time: 2021-12-21 * Update time: 2021-12-21 Index ¶ func Parse(expr, filename string) ([]string, error) type Conf Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Parse ¶ func Parse(expr, filename string) ([]string, error) Types ¶ type Conf ¶ type Conf struct { // contains filtered or unexported fields } Source Files ¶ View all Source files config-list.go Click to show internal directories. Click to hide internal directories.