Refactored to phc/website

main-old
Antonio De Lucreziis 3 years ago
parent 8bd5f83fc0
commit 57f5764608

@ -7,7 +7,7 @@ Repo del server del nuovo sito per il PHC.
Per clonare il progetto usare Per clonare il progetto usare
```bash ```bash
$ git clone https://github.com/phc-dm/phc-server $ git clone https://git.phc.dm.unipi.it/phc/website
``` ```
## Development ## Development

@ -6,7 +6,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/phc-dm/phc-server/config" "git.phc.dm.unipi.it/phc/website/config"
"gopkg.in/yaml.v3" "gopkg.in/yaml.v3"
) )

@ -5,8 +5,8 @@ import (
"os" "os"
"strings" "strings"
"git.phc.dm.unipi.it/phc/website/util"
"github.com/joho/godotenv" "github.com/joho/godotenv"
"github.com/phc-dm/phc-server/util"
) )
var Mode string var Mode string

@ -1,4 +1,4 @@
module github.com/phc-dm/phc-server module git.phc.dm.unipi.it/phc/website
go 1.13 go 1.13

@ -5,12 +5,12 @@ import (
"log" "log"
"net/http" "net/http"
"git.phc.dm.unipi.it/phc/website/articles"
"git.phc.dm.unipi.it/phc/website/config"
"git.phc.dm.unipi.it/phc/website/templates"
"git.phc.dm.unipi.it/phc/website/util"
"github.com/go-chi/chi/v5" "github.com/go-chi/chi/v5"
"github.com/go-chi/chi/v5/middleware" "github.com/go-chi/chi/v5/middleware"
"github.com/phc-dm/phc-server/articles"
"github.com/phc-dm/phc-server/config"
"github.com/phc-dm/phc-server/templates"
"github.com/phc-dm/phc-server/util"
) )
func main() { func main() {

@ -6,8 +6,8 @@ import (
"path" "path"
"strings" "strings"
"github.com/phc-dm/phc-server/config" "git.phc.dm.unipi.it/phc/website/config"
"github.com/phc-dm/phc-server/util" "git.phc.dm.unipi.it/phc/website/util"
) )
type LoadTemplate interface { type LoadTemplate interface {

Loading…
Cancel
Save