Codebase list golang-github-go-ini-ini / 20b96f6
Update .travis.yml 无闻 6 years ago
2 changed file(s) with 7 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
00 sudo: false
11 language: go
22 go:
3 - 1.4
4 - 1.5
5 - 1.6
6 - 1.7
7 - 1.8
3 - 1.4.x
4 - 1.5.x
5 - 1.6.x
6 - 1.7.x
7 - 1.8.x
88 - master
99
1010 script:
3434
3535 // Maximum allowed depth when recursively substituing variable names.
3636 _DEPTH_VALUES = 99
37 _VERSION = "1.28.1"
37 _VERSION = "1.28.2"
3838 )
3939
4040 // Version returns current package version literal.
541541 func (f *File) SaveToIndent(filename, indent string) error {
542542 // Note: Because we are truncating with os.Create,
543543 // so it's safer to save to a temporary file location and rename afte done.
544 buf, err := f.writeToBuffer(indent);
544 buf, err := f.writeToBuffer(indent)
545545 if err != nil {
546546 return err
547547 }