File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- module moths
1+ module github.com/Mobilpadde/ moths
22
33go 1.19
44
Original file line number Diff line number Diff line change 55 "os"
66 "time"
77
8- "moths/moths"
9- "moths/moths/emojies"
8+ "github.com/Mobilpadde/ moths/moths"
9+ "github.com/Mobilpadde/ moths/moths/emojies"
1010)
1111
1212func main () {
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ package checks
33import (
44 "time"
55
6- "moths/moths/emojies"
7- "moths/moths/errs"
6+ "github.com/Mobilpadde/ moths/moths/emojies"
7+ "github.com/Mobilpadde/ moths/moths/errs"
88)
99
1010func CheckSecret (secret string ) error {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package moths
33import (
44 "time"
55
6- "moths/moths/checks"
6+ "github.com/Mobilpadde/ moths/moths/checks"
77)
88
99func NewMoths (opts ... option ) (* Moths , error ) {
Original file line number Diff line number Diff line change 88 "fmt"
99 "time"
1010
11- "moths/moths/otp"
11+ "github.com/Mobilpadde/ moths/moths/otp"
1212)
1313
1414func (m * Moths ) Next () (otp.OTP , error ) {
Original file line number Diff line number Diff line change 55 "strings"
66 "time"
77
8- "moths/moths/checks"
9- "moths/moths/emojies"
8+ "github.com/Mobilpadde/ moths/moths/checks"
9+ "github.com/Mobilpadde/ moths/moths/emojies"
1010)
1111
1212type Moths struct {
Original file line number Diff line number Diff line change 11package otp
22
33import (
4- "moths/moths/emojies"
4+ "github.com/Mobilpadde/ moths/moths/emojies"
55)
66
77type OTP struct {
Original file line number Diff line number Diff line change 55 "math/bits"
66 "strings"
77
8- "moths/moths/emojies"
8+ "github.com/Mobilpadde/ moths/moths/emojies"
99)
1010
1111const EmojiBytes = 4
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package moths
33import (
44 "time"
55
6- "moths/moths/otp"
6+ "github.com/Mobilpadde/ moths/moths/otp"
77)
88
99func (m * Moths ) Validate (moth string ) bool {
You can’t perform that action at this time.
0 commit comments