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"
|
"net/http"
|
||||||
|
|
||||||
"git.elnu.com/ElnuDev/jichanorg/httputils"
|
"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 {
|
func GenerateApiEvents(clients *ClientSet) httputils.Handler {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"git.elnu.com/ElnuDev/jichanorg/httputils"
|
"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 {
|
func GenerateApiSubmit(clients *ClientSet) httputils.Handler {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package shiritori
|
package clients
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"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"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
. "git.elnu.com/ElnuDev/jichanorg/shiritori"
|
|
||||||
"git.elnu.com/ElnuDev/jichanorg/shiritori/api"
|
"git.elnu.com/ElnuDev/jichanorg/shiritori/api"
|
||||||
|
. "git.elnu.com/ElnuDev/jichanorg/shiritori/clients"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
Reference in a new issue