updated mongo driver dependencies to v2
# Conflicts: # exerr/constructor.go # exerr/dataCategory.go # exerr/dataSeverity.go # exerr/dataType.go # exerr/exerr.go # go.mod # mongoext/registry.go # reflectext/primStrSer.go # rfctime/date.go # rfctime/rfc3339.go # rfctime/rfc3339Nano.go # rfctime/seconds.go # rfctime/unix.go # rfctime/unixMilli.go # rfctime/unixNano.go # wmo/collection.go # wmo/queryInsert.go
This commit is contained in:
+4
-3
@@ -1,11 +1,12 @@
|
||||
package wpdf
|
||||
|
||||
import (
|
||||
"regexp"
|
||||
"strconv"
|
||||
|
||||
"git.blackforestbytes.com/BlackForestBytes/goext/exerr"
|
||||
"git.blackforestbytes.com/BlackForestBytes/goext/langext"
|
||||
"git.blackforestbytes.com/BlackForestBytes/goext/rext"
|
||||
"regexp"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
// Column specifier:
|
||||
@@ -298,7 +299,7 @@ func (b *TableBuilder) calculateColumns() []float64 {
|
||||
|
||||
if remainingWidth > 0.01 {
|
||||
rmSub := 0.0
|
||||
for i, _ := range columnDef {
|
||||
for i := range columnDef {
|
||||
if frColumnWeights[i] != 0 {
|
||||
addW := (remainingWidth / float64(frColumnWidthCount)) * frColumnWeights[i]
|
||||
rmSub += addW
|
||||
|
||||
Reference in New Issue
Block a user