commit | 30a4bee741c0bd52413a7fa1df12fa28d2919ba0 | [log] [tgz] |
---|---|---|
author | Koichi Shiraishi <zchee.io@gmail.com> | Thu Dec 26 03:06:48 2019 +0900 |
committer | Marcel van Lohuizen <mpvl@golang.org> | Wed Jan 08 21:00:44 2020 +0000 |
tree | 76dfe2f77a3d66f9081c8a8c3c7598d52863f647 | |
parent | 86a67bc77636bd4ab12a58da7edfdf2893eedab7 [diff] [blame] |
all: make goimports happy run goimports with -local flag. separates cue packages and other. $ goimports -w -local cuelang.org/go . Change-Id: I3849b916fde18e4f62789cfe5220e12a84aaddbc Reviewed-on: https://cue-review.googlesource.com/c/cue/+/4501 Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
diff --git a/pkg/list/math.go b/pkg/list/math.go index d91adb5..c4f802a 100644 --- a/pkg/list/math.go +++ b/pkg/list/math.go
@@ -17,8 +17,9 @@ import ( "fmt" - "cuelang.org/go/internal" "github.com/cockroachdb/apd/v2" + + "cuelang.org/go/internal" ) // Avg returns the average value of a non empty list xs.