Browse Source

# Fehler

test
Klaus Wendel 2 years ago
parent
commit
e8d7a62795
  1. 7
      ebkTools.go

7
ebkTools.go

@ -2,6 +2,7 @@ package ebkTools
import (
"bytes"
"fmt"
"math"
"path"
"reflect"
@ -9,8 +10,6 @@ import (
"runtime"
"strconv"
"strings"
"fmt"
)
//Round rundet Zahlen
@ -175,7 +174,7 @@ func GeneratorUmlaufListe(start, ende, einsprung int) (umlaufliste []int) {
}
return
}
#
// Contains tells whether a contains x.
func SliceContainsString(haystack []string, needle string) int {
for i, v := range haystack {
@ -186,8 +185,6 @@ func SliceContainsString(haystack []string, needle string) int {
return -1
}
// Dank an https://programming.guide/go/formatting-byte-size-to-human-readable-format.html
func ByteCountDecimal(b int64) string {
const unit = 1024

Loading…
Cancel
Save