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
```bash
$ git clone https://github.com/phc-dm/phc-server
$ git clone https://git.phc.dm.unipi.it/phc/website
```
## Development

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

@ -5,8 +5,8 @@ import (
"os"
"strings"
"git.phc.dm.unipi.it/phc/website/util"
"github.com/joho/godotenv"
"github.com/phc-dm/phc-server/util"
)
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

@ -5,12 +5,12 @@ import (
"log"
"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/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() {

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

Loading…
Cancel
Save