krotik / eliasdb

EliasDB a graph-based database.
Mozilla Public License 2.0
998 stars 49 forks source link

Error compiling #30

Closed lasarux closed 3 years ago

lasarux commented 3 years ago

Conversion errors from hex numbers to string with go version 1.16.3.

config/config_test.go:12:32: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
# devt.de/krotik/eliasdb/graph/graphstorage
graph/graphstorage/diskgraphstorage_test.go:30:32: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
# devt.de/krotik/eliasdb/graph/util
graph/util/indexmanager.go:42:24: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
graph/util/indexmanager.go:47:24: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
graph/util/namesmanager.go:18:20: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
graph/util/namesmanager.go:23:20: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
graph/util/namesmanager.go:28:23: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
graph/util/namesmanager.go:33:21: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
graph/util/namesmanager.go:38:21: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
# devt.de/krotik/eliasdb/cluster/manager
cluster/manager/config_test.go:24:32: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
# devt.de/krotik/eliasdb/storage/paging
storage/paging/pagedstoragefile_test.go:26:32: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
# devt.de/krotik/eliasdb/storage
storage/diskstoragemanager_test.go:592:32: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
# devt.de/krotik/eliasdb/storage/file
storage/file/storagefile_test.go:24:32: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
# devt.de/krotik/eliasdb/server
server/server_test.go:45:32: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
# devt.de/krotik/eliasdb/graph
graph/globals.go:111:27: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
graph/globals.go:207:23: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
graph/globals.go:212:22: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
graph/globals.go:217:23: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
graph/globals.go:222:22: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
graph/graphmanager_test.go:40:32: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
make: *** [vet] Error 2
krotik commented 3 years ago

Thanks for your contribution - the code seems to now compile also on Go 1.16.3 - let me know if there are still problems.