Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Commit

Permalink
Add go models
Browse files Browse the repository at this point in the history
  • Loading branch information
RealHinome authored Aug 11, 2023
1 parent d8c9fe6 commit b5b8bb4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions model/insert.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package model

// URL struct defines how insert of a new short URL should be
type URL struct {
Id string `json:"id"`
OriginalUrl string `json:"original_rul"`
Author string `json:"string"`
Analytics bool `json:"analytics"`
Phishing float32 `json:"phishing"`
}

0 comments on commit b5b8bb4

Please sign in to comment.