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

View File

@@ -24,7 +24,7 @@ RUN echo "deb http://httpredir.debian.org/debian/ stretch main contrib non-free"
# | All Gotenberg related stuff. # | All Gotenberg related stuff.
# | # |
WORKDIR /go/src/github.com/gulien/gotenberg WORKDIR /go/src/github.com/thecodingmachine/gotenberg
# Installs lint dependencies. # Installs lint dependencies.
RUN go get -u gopkg.in/alecthomas/gometalinter.v2 &&\ RUN go get -u gopkg.in/alecthomas/gometalinter.v2 &&\

View File

@@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2018 Julien Neuhart Copyright (c) 2018 TheCodingMachine
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@@ -4,11 +4,11 @@
<h3 align="center">Gotenberg</h3> <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 stateless API for converting HTML files and Office documents to PDF.</p>
<p align="center"> <p align="center">
<a href="https://godoc.org/github.com/gulien/gotenberg"> <a href="https://godoc.org/github.com/thecodingmachine/gotenberg">
<img src="https://godoc.org/github.com/gulien/gotenberg?status.svg" alt="GoDoc"> <img src="https://godoc.org/github.com/thecodingmachine/gotenberg?status.svg" alt="GoDoc">
</a> </a>
<a href="https://goreportcard.com/report/gulien/gotenberg"> <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> </a>
</p> </p>

View File

@@ -6,8 +6,8 @@ import (
"context" "context"
"net/http" "net/http"
"github.com/gulien/gotenberg/app/converter" "github.com/thecodingmachine/gotenberg/app/converter"
ghttp "github.com/gulien/gotenberg/app/http" ghttp "github.com/thecodingmachine/gotenberg/app/http"
) )
type key uint32 type key uint32

View File

@@ -5,8 +5,8 @@ import (
"net/http/httptest" "net/http/httptest"
"testing" "testing"
"github.com/gulien/gotenberg/app/converter" "github.com/thecodingmachine/gotenberg/app/converter"
ghttp "github.com/gulien/gotenberg/app/http" ghttp "github.com/thecodingmachine/gotenberg/app/http"
) )
func TestWithContentType(t *testing.T) { func TestWithContentType(t *testing.T) {

View File

@@ -7,9 +7,9 @@ import (
"net/http" "net/http"
"os" "os"
gfile "github.com/gulien/gotenberg/app/converter/file" gfile "github.com/thecodingmachine/gotenberg/app/converter/file"
"github.com/gulien/gotenberg/app/converter/process" "github.com/thecodingmachine/gotenberg/app/converter/process"
ghttp "github.com/gulien/gotenberg/app/http" ghttp "github.com/thecodingmachine/gotenberg/app/http"
"github.com/satori/go.uuid" "github.com/satori/go.uuid"
) )

View File

@@ -10,9 +10,9 @@ import (
"path/filepath" "path/filepath"
"testing" "testing"
"github.com/gulien/gotenberg/app/config" "github.com/thecodingmachine/gotenberg/app/config"
"github.com/gulien/gotenberg/app/converter/process" "github.com/thecodingmachine/gotenberg/app/converter/process"
ghttp "github.com/gulien/gotenberg/app/http" ghttp "github.com/thecodingmachine/gotenberg/app/http"
) )
func makeRequest(filesPaths ...string) *http.Request { func makeRequest(filesPaths ...string) *http.Request {

View File

@@ -6,7 +6,7 @@ import (
"io" "io"
"os" "os"
ghttp "github.com/gulien/gotenberg/app/http" ghttp "github.com/thecodingmachine/gotenberg/app/http"
"github.com/satori/go.uuid" "github.com/satori/go.uuid"
) )

View File

@@ -8,8 +8,8 @@ import (
"text/template" "text/template"
"time" "time"
"github.com/gulien/gotenberg/app/config" "github.com/thecodingmachine/gotenberg/app/config"
gfile "github.com/gulien/gotenberg/app/converter/file" gfile "github.com/thecodingmachine/gotenberg/app/converter/file"
) )
var commandsConfig *config.CommandsConfig var commandsConfig *config.CommandsConfig

View File

@@ -5,8 +5,8 @@ import (
"path/filepath" "path/filepath"
"testing" "testing"
"github.com/gulien/gotenberg/app/config" "github.com/thecodingmachine/gotenberg/app/config"
gfile "github.com/gulien/gotenberg/app/converter/file" gfile "github.com/thecodingmachine/gotenberg/app/converter/file"
) )
func TestLoad(t *testing.T) { func TestLoad(t *testing.T) {

View File

@@ -7,10 +7,10 @@ import (
"net/http" "net/http"
"os" "os"
"github.com/gulien/gotenberg/app/context" "github.com/thecodingmachine/gotenberg/app/context"
"github.com/gulien/gotenberg/app/converter" "github.com/thecodingmachine/gotenberg/app/converter"
ghttp "github.com/gulien/gotenberg/app/http" ghttp "github.com/thecodingmachine/gotenberg/app/http"
"github.com/gulien/gotenberg/app/logger" "github.com/thecodingmachine/gotenberg/app/logger"
"github.com/justinas/alice" "github.com/justinas/alice"
) )

View File

@@ -10,11 +10,11 @@ import (
"path/filepath" "path/filepath"
"testing" "testing"
"github.com/gulien/gotenberg/app/config" "github.com/thecodingmachine/gotenberg/app/config"
"github.com/gulien/gotenberg/app/context" "github.com/thecodingmachine/gotenberg/app/context"
"github.com/gulien/gotenberg/app/converter" "github.com/thecodingmachine/gotenberg/app/converter"
"github.com/gulien/gotenberg/app/converter/process" "github.com/thecodingmachine/gotenberg/app/converter/process"
ghttp "github.com/gulien/gotenberg/app/http" ghttp "github.com/thecodingmachine/gotenberg/app/http"
"github.com/justinas/alice" "github.com/justinas/alice"
) )

10
main.go
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. 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 package main
@@ -15,10 +15,10 @@ import (
"os/signal" "os/signal"
"time" "time"
"github.com/gulien/gotenberg/app" "github.com/thecodingmachine/gotenberg/app"
"github.com/gulien/gotenberg/app/config" "github.com/thecodingmachine/gotenberg/app/config"
"github.com/gulien/gotenberg/app/converter/process" "github.com/thecodingmachine/gotenberg/app/converter/process"
"github.com/gulien/gotenberg/app/logger" "github.com/thecodingmachine/gotenberg/app/logger"
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"

View File

@@ -9,7 +9,7 @@ tasks:
short: Runs tests inside a container short: Runs tests inside a container
run: run:
- docker build -t gotenberg:tests -f Dockerfile.tests . - 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 - use: build
short: Builds a Linux binary and the Docker image short: Builds a Linux binary and the Docker image