-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from yanosea/6-add-sub-command-history-and-fav…
…orite-commands ✨feat: implement commands 'history' and 'favorite'
- Loading branch information
Showing
321 changed files
with
74,147 additions
and
4,674 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,6 @@ jrp | |
jrp.exe | ||
.DS_Store | ||
*.log | ||
|
||
# NOT IGNORE FOLDER | ||
!jrp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// Package model is a package for providing jrp model. | ||
package model |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package model | ||
|
||
import ( | ||
"github.com/yanosea/jrp/app/proxy/sql" | ||
"github.com/yanosea/jrp/app/proxy/time" | ||
) | ||
|
||
// Jrp is a struct that represents jrp. | ||
type Jrp struct { | ||
ID int | ||
Phrase string | ||
Prefix *sqlproxy.NullStringInstance | ||
Suffix *sqlproxy.NullStringInstance | ||
IsFavorited int | ||
CreatedAt *timeproxy.TimeInstance | ||
UpdatedAt *timeproxy.TimeInstance | ||
} |
Oops, something went wrong.