|
|
|
@ -74,11 +74,11 @@ func checkVersion() { |
|
|
|
|
|
|
|
|
|
// Check dependency version.
|
|
|
|
|
checkers := []VerChecker{ |
|
|
|
|
{"github.com/Unknwon/macaron", macaron.Version, "0.4.7"}, |
|
|
|
|
{"github.com/Unknwon/macaron", macaron.Version, "0.4.9"}, |
|
|
|
|
{"github.com/macaron-contrib/binding", binding.Version, "0.0.4"}, |
|
|
|
|
{"github.com/macaron-contrib/csrf", csrf.Version, "0.0.1"}, |
|
|
|
|
{"github.com/macaron-contrib/i18n", i18n.Version, "0.0.4"}, |
|
|
|
|
{"github.com/macaron-contrib/session", session.Version, "0.1.0"}, |
|
|
|
|
{"github.com/macaron-contrib/i18n", i18n.Version, "0.0.5"}, |
|
|
|
|
{"github.com/macaron-contrib/session", session.Version, "0.1.1"}, |
|
|
|
|
} |
|
|
|
|
for _, c := range checkers { |
|
|
|
|
ver := strings.Join(strings.Split(c.Version(), ".")[:3], ".") |
|
|
|
|