renaming github.com/gulien to github.com/thecodingmachine

This commit is contained in:
Julien Neuhart
2018-04-06 12:19:14 +02:00
parent a5bcd64c9a
commit 23edd518fd
14 changed files with 35 additions and 35 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ RUN echo "deb http://httpredir.debian.org/debian/ stretch main contrib non-free"
# | All Gotenberg related stuff.
# |
WORKDIR /go/src/github.com/gulien/gotenberg
WORKDIR /go/src/github.com/thecodingmachine/gotenberg
# Installs lint dependencies.
RUN go get -u gopkg.in/alecthomas/gometalinter.v2 &&\
+1 -1
View File
@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2018 Julien Neuhart
Copyright (c) 2018 TheCodingMachine
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
+3 -3
View File
@@ -4,11 +4,11 @@
<h3 align="center">Gotenberg</h3>
<p align="center">A stateless API for converting HTML files and Office documents to PDF.</p>
<p align="center">
<a href="https://godoc.org/github.com/gulien/gotenberg">
<img src="https://godoc.org/github.com/gulien/gotenberg?status.svg" alt="GoDoc">
<a href="https://godoc.org/github.com/thecodingmachine/gotenberg">
<img src="https://godoc.org/github.com/thecodingmachine/gotenberg?status.svg" alt="GoDoc">
</a>
<a href="https://goreportcard.com/report/gulien/gotenberg">
<img src="https://goreportcard.com/badge/github.com/gulien/gotenberg" alt="Go Report Card">
<img src="https://goreportcard.com/badge/github.com/thecodingmachine/gotenberg" alt="Go Report Card">
</a>
</p>
+2 -2
View File
@@ -6,8 +6,8 @@ import (
"context"
"net/http"
"github.com/gulien/gotenberg/app/converter"
ghttp "github.com/gulien/gotenberg/app/http"
"github.com/thecodingmachine/gotenberg/app/converter"
ghttp "github.com/thecodingmachine/gotenberg/app/http"
)
type key uint32
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"net/http/httptest"
"testing"
"github.com/gulien/gotenberg/app/converter"
ghttp "github.com/gulien/gotenberg/app/http"
"github.com/thecodingmachine/gotenberg/app/converter"
ghttp "github.com/thecodingmachine/gotenberg/app/http"
)
func TestWithContentType(t *testing.T) {
+3 -3
View File
@@ -7,9 +7,9 @@ import (
"net/http"
"os"
gfile "github.com/gulien/gotenberg/app/converter/file"
"github.com/gulien/gotenberg/app/converter/process"
ghttp "github.com/gulien/gotenberg/app/http"
gfile "github.com/thecodingmachine/gotenberg/app/converter/file"
"github.com/thecodingmachine/gotenberg/app/converter/process"
ghttp "github.com/thecodingmachine/gotenberg/app/http"
"github.com/satori/go.uuid"
)
+3 -3
View File
@@ -10,9 +10,9 @@ import (
"path/filepath"
"testing"
"github.com/gulien/gotenberg/app/config"
"github.com/gulien/gotenberg/app/converter/process"
ghttp "github.com/gulien/gotenberg/app/http"
"github.com/thecodingmachine/gotenberg/app/config"
"github.com/thecodingmachine/gotenberg/app/converter/process"
ghttp "github.com/thecodingmachine/gotenberg/app/http"
)
func makeRequest(filesPaths ...string) *http.Request {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"io"
"os"
ghttp "github.com/gulien/gotenberg/app/http"
ghttp "github.com/thecodingmachine/gotenberg/app/http"
"github.com/satori/go.uuid"
)
+2 -2
View File
@@ -8,8 +8,8 @@ import (
"text/template"
"time"
"github.com/gulien/gotenberg/app/config"
gfile "github.com/gulien/gotenberg/app/converter/file"
"github.com/thecodingmachine/gotenberg/app/config"
gfile "github.com/thecodingmachine/gotenberg/app/converter/file"
)
var commandsConfig *config.CommandsConfig
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"path/filepath"
"testing"
"github.com/gulien/gotenberg/app/config"
gfile "github.com/gulien/gotenberg/app/converter/file"
"github.com/thecodingmachine/gotenberg/app/config"
gfile "github.com/thecodingmachine/gotenberg/app/converter/file"
)
func TestLoad(t *testing.T) {
+4 -4
View File
@@ -7,10 +7,10 @@ import (
"net/http"
"os"
"github.com/gulien/gotenberg/app/context"
"github.com/gulien/gotenberg/app/converter"
ghttp "github.com/gulien/gotenberg/app/http"
"github.com/gulien/gotenberg/app/logger"
"github.com/thecodingmachine/gotenberg/app/context"
"github.com/thecodingmachine/gotenberg/app/converter"
ghttp "github.com/thecodingmachine/gotenberg/app/http"
"github.com/thecodingmachine/gotenberg/app/logger"
"github.com/justinas/alice"
)
+5 -5
View File
@@ -10,11 +10,11 @@ import (
"path/filepath"
"testing"
"github.com/gulien/gotenberg/app/config"
"github.com/gulien/gotenberg/app/context"
"github.com/gulien/gotenberg/app/converter"
"github.com/gulien/gotenberg/app/converter/process"
ghttp "github.com/gulien/gotenberg/app/http"
"github.com/thecodingmachine/gotenberg/app/config"
"github.com/thecodingmachine/gotenberg/app/context"
"github.com/thecodingmachine/gotenberg/app/converter"
"github.com/thecodingmachine/gotenberg/app/converter/process"
ghttp "github.com/thecodingmachine/gotenberg/app/http"
"github.com/justinas/alice"
)
+5 -5
View File
@@ -3,7 +3,7 @@ Package main handles the application startup and shutdown.
Gotenberg is a stateless API for converting HTML files and Office documents to PDF.
For more information, go to https://github.com/gulien/gotenberg.
For more information, go to https://github.com/thecodingmachine/gotenberg.
*/
package main
@@ -15,10 +15,10 @@ import (
"os/signal"
"time"
"github.com/gulien/gotenberg/app"
"github.com/gulien/gotenberg/app/config"
"github.com/gulien/gotenberg/app/converter/process"
"github.com/gulien/gotenberg/app/logger"
"github.com/thecodingmachine/gotenberg/app"
"github.com/thecodingmachine/gotenberg/app/config"
"github.com/thecodingmachine/gotenberg/app/converter/process"
"github.com/thecodingmachine/gotenberg/app/logger"
"github.com/gorilla/mux"
"github.com/sirupsen/logrus"
+1 -1
View File
@@ -9,7 +9,7 @@ tasks:
short: Runs tests inside a container
run:
- docker build -t gotenberg:tests -f Dockerfile.tests .
- docker run --rm -e "VERSION={{ .Orbit.Version }}" -v "$(pwd)/_ci:/go/src/github.com/gulien/gotenberg/_ci" gotenberg:tests
- docker run --rm -e "VERSION={{ .Orbit.Version }}" -v "$(pwd)/_ci:/go/src/github.com/thecodingmachine/gotenberg/_ci" gotenberg:tests
- use: build
short: Builds a Linux binary and the Docker image