v0.0.572 switch to git.blackforestbytes.com as module name
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Has been cancelled

This commit is contained in:
2025-05-03 16:41:43 +02:00
parent cbaa283f74
commit 55ff89f179
128 changed files with 220 additions and 220 deletions

View File

@@ -1,6 +1,6 @@
package mathext
import "gogs.mikescher.com/BlackForestBytes/goext/langext"
import "git.blackforestbytes.com/BlackForestBytes/goext/langext"
func ClampInt(v int, lo int, hi int) int {
if v < lo {

View File

@@ -1,6 +1,6 @@
package mathext
import "gogs.mikescher.com/BlackForestBytes/goext/langext"
import "git.blackforestbytes.com/BlackForestBytes/goext/langext"
func AvgFloat64(arr []float64) float64 {
return SumFloat64(arr) / float64(len(arr))

View File

@@ -1,8 +1,8 @@
package mathext
import (
"gogs.mikescher.com/BlackForestBytes/goext/exerr"
"gogs.mikescher.com/BlackForestBytes/goext/langext"
"git.blackforestbytes.com/BlackForestBytes/goext/exerr"
"git.blackforestbytes.com/BlackForestBytes/goext/langext"
)
func Sum[T langext.NumberConstraint](v []T) T {