change import paths

This commit is contained in:
Alexander Weinhold 2018-12-06 16:38:58 +01:00
parent 3cb33d48d3
commit ee46aad5c1
53 changed files with 74 additions and 74 deletions

View File

@ -4,7 +4,7 @@ import (
"fmt"
"math"
util "github.com/wcharczuk/go-chart/util"
util "git.gutmet.org/go-chart.git/util"
)
// Interface Assertions.

View File

@ -6,7 +6,7 @@ import (
"github.com/blend/go-sdk/assert"
"github.com/wcharczuk/go-chart/drawing"
"git.gutmet.org/go-chart.git/drawing"
)
func TestAnnotationSeriesMeasure(t *testing.T) {

View File

@ -6,8 +6,8 @@ import (
"io"
"math"
"github.com/golang/freetype/truetype"
util "github.com/wcharczuk/go-chart/util"
"git.gutmet.org/golang-freetype.git/truetype"
util "git.gutmet.org/go-chart.git/util"
)
// BarChart is a chart that draws bars on a range.

View File

@ -3,7 +3,7 @@ package chart
import (
"fmt"
"github.com/wcharczuk/go-chart/seq"
"git.gutmet.org/go-chart.git/seq"
)
// Interface Assertions.

View File

@ -6,7 +6,7 @@ import (
"testing"
"github.com/blend/go-sdk/assert"
"github.com/wcharczuk/go-chart/seq"
"git.gutmet.org/go-chart.git/seq"
)
func TestBollingerBandSeries(t *testing.T) {

2
box.go
View File

@ -4,7 +4,7 @@ import (
"fmt"
"math"
util "github.com/wcharczuk/go-chart/util"
util "git.gutmet.org/go-chart.git/util"
)
var (

View File

@ -6,8 +6,8 @@ import (
"io"
"math"
"github.com/golang/freetype/truetype"
util "github.com/wcharczuk/go-chart/util"
"git.gutmet.org/golang-freetype.git/truetype"
util "git.gutmet.org/go-chart.git/util"
)
// Chart is what we're drawing.

View File

@ -11,8 +11,8 @@ import (
"github.com/blend/go-sdk/assert"
"github.com/wcharczuk/go-chart/drawing"
"github.com/wcharczuk/go-chart/seq"
"git.gutmet.org/go-chart.git/drawing"
"git.gutmet.org/go-chart.git/seq"
)
func TestChartGetDPI(t *testing.T) {

View File

@ -1,6 +1,6 @@
package chart
import "github.com/wcharczuk/go-chart/drawing"
import "git.gutmet.org/go-chart.git/drawing"
var (
// ColorWhite is white.

View File

@ -4,7 +4,7 @@ import (
"testing"
assert "github.com/blend/go-sdk/assert"
"github.com/wcharczuk/go-chart/seq"
"git.gutmet.org/go-chart.git/seq"
)
func TestConcatSeries(t *testing.T) {

View File

@ -4,7 +4,7 @@ import (
"testing"
"github.com/blend/go-sdk/assert"
"github.com/wcharczuk/go-chart/util"
"git.gutmet.org/go-chart.git/util"
)
func TestRangeTranslate(t *testing.T) {

View File

@ -5,7 +5,7 @@ import (
"testing"
assert "github.com/blend/go-sdk/assert"
"github.com/wcharczuk/go-chart/seq"
"git.gutmet.org/go-chart.git/seq"
)
func TestContinuousSeries(t *testing.T) {

View File

@ -3,7 +3,7 @@ package chart
import (
"math"
util "github.com/wcharczuk/go-chart/util"
util "git.gutmet.org/go-chart.git/util"
)
var (

View File

@ -3,7 +3,7 @@ package drawing
import (
"image/color"
"github.com/golang/freetype/truetype"
"git.gutmet.org/golang-freetype.git/truetype"
)
// FillRule defines the type for fill rules

View File

@ -1,7 +1,7 @@
package drawing
import (
"github.com/golang/freetype/raster"
"git.gutmet.org/golang-freetype.git/raster"
"golang.org/x/image/math/fixed"
)

View File

@ -4,7 +4,7 @@ import (
"image"
"image/color"
"github.com/golang/freetype/truetype"
"git.gutmet.org/golang-freetype.git/truetype"
)
// GraphicContext describes the interface for the various backends (images, pdf, opengl, ...)

View File

@ -7,7 +7,7 @@ import (
"golang.org/x/image/draw"
"golang.org/x/image/math/f64"
"github.com/golang/freetype/raster"
"git.gutmet.org/golang-freetype.git/raster"
)
// Painter implements the freetype raster.Painter and has a SetColor method like the RGBAPainter

View File

@ -6,8 +6,8 @@ import (
"image/color"
"math"
"github.com/golang/freetype/raster"
"github.com/golang/freetype/truetype"
"git.gutmet.org/golang-freetype.git/raster"
"git.gutmet.org/golang-freetype.git/truetype"
"golang.org/x/image/draw"
"golang.org/x/image/font"
"golang.org/x/image/math/fixed"

View File

@ -4,7 +4,7 @@ import (
"image"
"image/color"
"github.com/golang/freetype/truetype"
"git.gutmet.org/golang-freetype.git/truetype"
)
// StackGraphicContext is a context that does thngs.

View File

@ -1,7 +1,7 @@
package drawing
import (
"github.com/golang/freetype/truetype"
"git.gutmet.org/golang-freetype.git/truetype"
"golang.org/x/image/math/fixed"
)

View File

@ -5,8 +5,8 @@ import (
"golang.org/x/image/math/fixed"
"github.com/golang/freetype/raster"
"github.com/golang/freetype/truetype"
"git.gutmet.org/golang-freetype.git/raster"
"git.gutmet.org/golang-freetype.git/truetype"
)
// PixelsToPoints returns the points for a given number of pixels at a DPI.

View File

@ -4,7 +4,7 @@ import (
"testing"
"github.com/blend/go-sdk/assert"
"github.com/wcharczuk/go-chart/seq"
"git.gutmet.org/go-chart.git/seq"
)
var (

View File

@ -3,8 +3,8 @@ package chart
import (
"sync"
"github.com/golang/freetype/truetype"
"github.com/wcharczuk/go-chart/roboto"
"git.gutmet.org/golang-freetype.git/truetype"
"git.gutmet.org/go-chart.git/roboto"
)
var (

View File

@ -4,7 +4,7 @@ import (
"testing"
assert "github.com/blend/go-sdk/assert"
"github.com/wcharczuk/go-chart/seq"
"git.gutmet.org/go-chart.git/seq"
)
func TestHistogramSeries(t *testing.T) {

2
jet.go
View File

@ -1,6 +1,6 @@
package chart
import "github.com/wcharczuk/go-chart/drawing"
import "git.gutmet.org/go-chart.git/drawing"
// Jet is a color map provider based on matlab's jet color map.
func Jet(v, vmin, vmax float64) drawing.Color {

View File

@ -1,8 +1,8 @@
package chart
import (
"github.com/wcharczuk/go-chart/drawing"
"github.com/wcharczuk/go-chart/util"
"git.gutmet.org/go-chart.git/drawing"
"git.gutmet.org/go-chart.git/util"
)
// Legend returns a legend renderable function.

View File

@ -3,8 +3,8 @@ package chart
import (
"fmt"
"github.com/wcharczuk/go-chart/seq"
util "github.com/wcharczuk/go-chart/util"
"git.gutmet.org/go-chart.git/seq"
util "git.gutmet.org/go-chart.git/util"
)
// Interface Assertions.

View File

@ -4,7 +4,7 @@ import (
"testing"
assert "github.com/blend/go-sdk/assert"
"github.com/wcharczuk/go-chart/seq"
"git.gutmet.org/go-chart.git/seq"
)
func TestLinearRegressionSeries(t *testing.T) {

View File

@ -6,8 +6,8 @@ import (
"io"
"math"
"github.com/golang/freetype/truetype"
"github.com/wcharczuk/go-chart/util"
"git.gutmet.org/golang-freetype.git/truetype"
"git.gutmet.org/go-chart.git/util"
)
const (

View File

@ -4,8 +4,8 @@ import (
"fmt"
"math"
"github.com/wcharczuk/go-chart/matrix"
util "github.com/wcharczuk/go-chart/util"
"git.gutmet.org/go-chart.git/matrix"
util "git.gutmet.org/go-chart.git/util"
)
// Interface Assertions.

View File

@ -4,7 +4,7 @@ import (
"testing"
assert "github.com/blend/go-sdk/assert"
"github.com/wcharczuk/go-chart/matrix"
"git.gutmet.org/go-chart.git/matrix"
)
func TestPolynomialRegression(t *testing.T) {

View File

@ -6,9 +6,9 @@ import (
"io"
"math"
"github.com/golang/freetype/truetype"
"github.com/wcharczuk/go-chart/drawing"
"github.com/wcharczuk/go-chart/util"
"git.gutmet.org/golang-freetype.git/truetype"
"git.gutmet.org/go-chart.git/drawing"
"git.gutmet.org/go-chart.git/util"
)
// PNG returns a new png/raster renderer.

View File

@ -3,8 +3,8 @@ package chart
import (
"io"
"github.com/golang/freetype/truetype"
"github.com/wcharczuk/go-chart/drawing"
"git.gutmet.org/golang-freetype.git/truetype"
"git.gutmet.org/go-chart.git/drawing"
)
// Renderer represents the basic methods required to draw a chart.

View File

@ -4,7 +4,7 @@ import (
"fmt"
"strings"
util "github.com/wcharczuk/go-chart/util"
util "git.gutmet.org/go-chart.git/util"
)
const (

View File

@ -3,7 +3,7 @@ package seq
import (
"time"
"github.com/wcharczuk/go-chart/util"
"git.gutmet.org/go-chart.git/util"
)
// Time is a utility singleton with helper functions for time seq generation.

View File

@ -5,7 +5,7 @@ import (
"time"
assert "github.com/blend/go-sdk/assert"
"github.com/wcharczuk/go-chart/util"
"git.gutmet.org/go-chart.git/util"
)
func TestTimeHours(t *testing.T) {

View File

@ -3,7 +3,7 @@ package seq
import (
"time"
"github.com/wcharczuk/go-chart/util"
"git.gutmet.org/go-chart.git/util"
)
// Assert types implement interfaces.

View File

@ -3,7 +3,7 @@ package chart
import (
"fmt"
util "github.com/wcharczuk/go-chart/util"
util "git.gutmet.org/go-chart.git/util"
)
const (

View File

@ -4,8 +4,8 @@ import (
"testing"
"github.com/blend/go-sdk/assert"
"github.com/wcharczuk/go-chart/seq"
"github.com/wcharczuk/go-chart/util"
"git.gutmet.org/go-chart.git/seq"
"git.gutmet.org/go-chart.git/util"
)
type mockValuesProvider struct {

View File

@ -6,9 +6,9 @@ import (
"io"
"math"
"github.com/golang/freetype/truetype"
"github.com/wcharczuk/go-chart/seq"
util "github.com/wcharczuk/go-chart/util"
"git.gutmet.org/golang-freetype.git/truetype"
"git.gutmet.org/go-chart.git/seq"
util "git.gutmet.org/go-chart.git/util"
)
// StackedBar is a bar within a StackedBarChart.

View File

@ -4,9 +4,9 @@ import (
"fmt"
"strings"
"github.com/golang/freetype/truetype"
"github.com/wcharczuk/go-chart/drawing"
"github.com/wcharczuk/go-chart/util"
"git.gutmet.org/golang-freetype.git/truetype"
"git.gutmet.org/go-chart.git/drawing"
"git.gutmet.org/go-chart.git/util"
)
const (

View File

@ -4,8 +4,8 @@ import (
"testing"
"github.com/blend/go-sdk/assert"
"github.com/golang/freetype/truetype"
"github.com/wcharczuk/go-chart/drawing"
"git.gutmet.org/golang-freetype.git/truetype"
"git.gutmet.org/go-chart.git/drawing"
)
func TestStyleIsZero(t *testing.T) {

View File

@ -3,7 +3,7 @@ package chart
import (
"strings"
util "github.com/wcharczuk/go-chart/util"
util "git.gutmet.org/go-chart.git/util"
)
// TextHorizontalAlign is an enum for the horizontal alignment options.

View File

@ -5,7 +5,7 @@ import (
"math"
"strings"
util "github.com/wcharczuk/go-chart/util"
util "git.gutmet.org/go-chart.git/util"
)
// TicksProvider is a type that provides ticks.

View File

@ -4,7 +4,7 @@ import (
"fmt"
"time"
util "github.com/wcharczuk/go-chart/util"
util "git.gutmet.org/go-chart.git/util"
)
// Interface Assertions.

View File

@ -1,6 +1,6 @@
package chart
import util "github.com/wcharczuk/go-chart/util"
import util "git.gutmet.org/go-chart.git/util"
// Value is a chart value.
type Value struct {

View File

@ -5,7 +5,7 @@ import (
"time"
"github.com/blend/go-sdk/assert"
"github.com/wcharczuk/go-chart/util"
"git.gutmet.org/go-chart.git/util"
)
func TestTimeValueFormatterWithFormat(t *testing.T) {

View File

@ -1,6 +1,6 @@
package chart
import "github.com/wcharczuk/go-chart/drawing"
import "git.gutmet.org/go-chart.git/drawing"
// ValuesProvider is a type that produces values.
type ValuesProvider interface {

View File

@ -9,9 +9,9 @@ import (
"golang.org/x/image/font"
"github.com/golang/freetype/truetype"
"github.com/wcharczuk/go-chart/drawing"
"github.com/wcharczuk/go-chart/util"
"git.gutmet.org/golang-freetype.git/truetype"
"git.gutmet.org/go-chart.git/drawing"
"git.gutmet.org/go-chart.git/util"
)
// SVG returns a new png/raster renderer.

View File

@ -7,7 +7,7 @@ import (
"testing"
"github.com/blend/go-sdk/assert"
"github.com/wcharczuk/go-chart/drawing"
"git.gutmet.org/go-chart.git/drawing"
)
func TestVectorRendererPath(t *testing.T) {

View File

@ -1,6 +1,6 @@
package chart
import "github.com/wcharczuk/go-chart/drawing"
import "git.gutmet.org/go-chart.git/drawing"
var viridisColors = [256]drawing.Color{
drawing.Color{R: 0x44, G: 0x1, B: 0x54, A: 0xff},

View File

@ -3,7 +3,7 @@ package chart
import (
"math"
util "github.com/wcharczuk/go-chart/util"
util "git.gutmet.org/go-chart.git/util"
)
// XAxis represents the horizontal axis.

View File

@ -3,7 +3,7 @@ package chart
import (
"math"
util "github.com/wcharczuk/go-chart/util"
util "git.gutmet.org/go-chart.git/util"
)
// YAxis is a veritcal rule of the range.