如下一个文本文件,需要以时间的先后顺序进行排序。
20161206 2016-12-06 13:34:31 +0800 shut off
snapshot1 2016-06-20 15:57:35 +0800 shut off
snapshot2 2016-03-21 15:57:25 +0800 shut off
auto_FF_61261206_180504 2014-10-06 18:05:04 +0800 running
auto_FF_61261206_231115 2016-12-06 13:11:15 +0800 shut off
auto_FF_61261206_235349 2016-12-06 12:53:49 +0800 running
先自己按行解析出来,解析成map[string]string
要是想解析成[]map[string]string 就把下面代码改改就行