Use local path to import local packages

This commit is contained in:
Enrico Stahn 2018-02-18 12:06:48 +11:00
parent b0dcec9cff
commit dc0bdca466
No known key found for this signature in database
GPG key ID: 5263621C269A50DE
3 changed files with 3 additions and 3 deletions

View file

@ -19,8 +19,8 @@ import (
"github.com/gosuri/uitable" "github.com/gosuri/uitable"
"fmt" "fmt"
"time" "time"
"php-fpm_exporter/phpfpm"
"encoding/json" "encoding/json"
"../phpfpm"
) )
// Configuration variables // Configuration variables

View file

@ -21,7 +21,7 @@ import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"php-fpm_exporter/phpfpm" "../phpfpm"
) )
var log = logrus.New() var log = logrus.New()

View file

@ -18,7 +18,7 @@ import (
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
"net/http" "net/http"
"github.com/prometheus/client_golang/prometheus/promhttp" "github.com/prometheus/client_golang/prometheus/promhttp"
"php-fpm_exporter/phpfpm" "../phpfpm"
) )
// Configuration variables // Configuration variables