generated from ElnuDev/go-project
Proper go.work implementation
This commit is contained in:
parent
1036ea930f
commit
f8ccf62570
9 changed files with 15 additions and 4 deletions
5
go.work
Normal file
5
go.work
Normal file
|
@ -0,0 +1,5 @@
|
|||
go 1.20
|
||||
|
||||
use ./httputils
|
||||
use ./dict
|
||||
use ./shiritori
|
3
httputils/go.mod
Normal file
3
httputils/go.mod
Normal file
|
@ -0,0 +1,3 @@
|
|||
module git.elnu.com/ElnuDev/jichanorg/httputils
|
||||
|
||||
go 1.20
|
|
@ -5,7 +5,7 @@ import (
|
|||
"net/http"
|
||||
|
||||
"git.elnu.com/ElnuDev/jichanorg/httputils"
|
||||
. "git.elnu.com/ElnuDev/jichanorg/shiritori"
|
||||
. "git.elnu.com/ElnuDev/jichanorg/shiritori/clients"
|
||||
)
|
||||
|
||||
func GenerateApiEvents(clients *ClientSet) httputils.Handler {
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"net/http"
|
||||
|
||||
"git.elnu.com/ElnuDev/jichanorg/httputils"
|
||||
. "git.elnu.com/ElnuDev/jichanorg/shiritori"
|
||||
. "git.elnu.com/ElnuDev/jichanorg/shiritori/clients"
|
||||
)
|
||||
|
||||
func GenerateApiSubmit(clients *ClientSet) httputils.Handler {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package shiritori
|
||||
package clients
|
||||
|
||||
import (
|
||||
"fmt"
|
3
shiritori/go.mod
Normal file
3
shiritori/go.mod
Normal file
|
@ -0,0 +1,3 @@
|
|||
module git.elnu.com/ElnuDev/jichanorg/shiritori
|
||||
|
||||
go 1.20
|
|
@ -4,8 +4,8 @@ import (
|
|||
"log"
|
||||
"net/http"
|
||||
|
||||
. "git.elnu.com/ElnuDev/jichanorg/shiritori"
|
||||
"git.elnu.com/ElnuDev/jichanorg/shiritori/api"
|
||||
. "git.elnu.com/ElnuDev/jichanorg/shiritori/clients"
|
||||
)
|
||||
|
||||
func main() {
|
Reference in a new issue