delve/service/dap/utils.go
polinasok 7e13791b4a
service/dap: Support stackTrace request (#2093)
* service/dap: Support stackTrace request

* Minor tweaks

* Address review comments

* Fix grammar

* Address review comments

* Address review comments

* Update comments

Co-authored-by: Polina Sokolova <polinasok@users.noreply.github.com>
2020-07-01 11:01:17 -07:00

11 lines
152 B
Go

package dap
// min returns the lowest-valued integer
// between the two passed into it.
func min(i, j int) int {
if i < j {
return i
}
return j
}