Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

Commit

Permalink
- Update module path to reflect repository changes
Browse files Browse the repository at this point in the history
  • Loading branch information
0x111 committed Feb 19, 2019
1 parent a5a9a6f commit b83542f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/0x111/shortsh-backend
module github.com/short-sh/shortsh-backend

require (
cloud.google.com/go v0.36.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion models/url-stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type UrlStatRet struct {
//+----+---------------------+-----------------------------------------------------+--------------+---------------+
//| id | created_at | url | short_domain | visitorscount |
//+----+---------------------+-----------------------------------------------------+--------------+---------------+
//| 5 | 2018-11-15 17:31:07 | https://github.com/0x111/shortsh-backend/issues/1#d | 1 | 2 |
//| 5 | 2018-11-15 17:31:07 | https://github.com/short-sh/shortsh-backend/issues/1#d | 1 | 2 |
//+----+---------------------+-----------------------------------------------------+--------------+---------------+
Id int64 `json:"-"`
CreatedAt time.Time `json:"created_at"`
Expand Down
2 changes: 1 addition & 1 deletion models/url.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package models

import (
"github.com/0x111/shortsh-backend/randomizer"
"github.com/short-sh/shortsh-backend/randomizer"
"time"
)

Expand Down
4 changes: 2 additions & 2 deletions shortsh.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ package main

import (
"fmt"
"github.com/0x111/shortsh-backend/models"
"github.com/0x111/shortsh-backend/utils"
_ "github.com/go-sql-driver/mysql"
"github.com/go-xorm/core"
"github.com/go-xorm/xorm"
"github.com/labstack/echo"
"github.com/labstack/echo/middleware"
"github.com/short-sh/shortsh-backend/models"
"github.com/short-sh/shortsh-backend/utils"
"github.com/spf13/viper"
"log"
"net"
Expand Down
2 changes: 1 addition & 1 deletion utils/domains.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package utils

import (
"github.com/0x111/shortsh-backend/models"
"github.com/go-xorm/xorm"
"github.com/short-sh/shortsh-backend/models"
)

func UrlExists(engine *xorm.Engine, url string) (shortshurl *models.Url, exists bool) {
Expand Down

0 comments on commit b83542f

Please sign in to comment.