File: min.go

package info (click to toggle)
golang-github-offchainlabs-go-bitfield 0.0~git20250408.ad7364d-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 376 kB
  • sloc: makefile: 2
file content (8 lines) | stat: -rw-r--r-- 81 bytes parent folder | download
1
2
3
4
5
6
7
8
package bitfield

func min(a, b int) int {
	if a < b {
		return a
	}
	return b
}