/
githubmirror
/
origin
Обзор
Документация
Войти
/
githubmirror
/
origin
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
vendor/github.com/sergi/go-diff/diffmatchpatch/mathutil.go
23 строки
498 B
Michal Fojtik
bump(*): glide update
08 апр 2020, 16:18
Не верифицирован
08 апр 2020, 16:18
2836c10
Код
Авторство
О чём код?
// Copyright (c) 2012-2016 The go-diff authors. All rights reserved. // https://github.com/sergi/go-diff // See the included LICENSE file for license details. // // go-diff is a Go implementation of Google's Diff, Match, and Patch library // Original library is Copyright (c) 2006 Google Inc. // http://code.google.com/p/google-diff-match-patch/ package diffmatchpatch func min(x, y int) int { if x < y { return x } return y } func max(x, y int) int { if x > y { return x } return y }