refactor: rename project name
This commit is contained in:
parent
abcd7df330
commit
b48e989e9e
8
.idea/.gitignore
vendored
8
.idea/.gitignore
vendored
|
@ -1,8 +0,0 @@
|
||||||
# Default ignored files
|
|
||||||
/shelf/
|
|
||||||
/workspace.xml
|
|
||||||
# Editor-based HTTP Client requests
|
|
||||||
/httpRequests/
|
|
||||||
# Datasource local storage ignored files
|
|
||||||
/dataSources/
|
|
||||||
/dataSources.local.xml
|
|
|
@ -1,12 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
|
|
||||||
<data-source source="LOCAL" name="fadinglight" uuid="e8915c47-28a5-42b5-91b6-83b100f9c018">
|
|
||||||
<driver-ref>mariadb</driver-ref>
|
|
||||||
<synchronize>true</synchronize>
|
|
||||||
<jdbc-driver>org.mariadb.jdbc.Driver</jdbc-driver>
|
|
||||||
<jdbc-url>jdbc:mariadb://fadinglight.cn:3306</jdbc-url>
|
|
||||||
<working-dir>$ProjectFileDir$</working-dir>
|
|
||||||
</data-source>
|
|
||||||
</component>
|
|
||||||
</project>
|
|
|
@ -1,9 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module type="WEB_MODULE" version="4">
|
|
||||||
<component name="Go" enabled="true" />
|
|
||||||
<component name="NewModuleRootManager">
|
|
||||||
<content url="file://$MODULE_DIR$" />
|
|
||||||
<orderEntry type="inheritedJdk" />
|
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
|
||||||
</component>
|
|
||||||
</module>
|
|
|
@ -2,7 +2,7 @@
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ProjectModuleManager">
|
<component name="ProjectModuleManager">
|
||||||
<modules>
|
<modules>
|
||||||
<module fileurl="file://$PROJECT_DIR$/.idea/docker-mariadb-clean-arch.iml" filepath="$PROJECT_DIR$/.idea/docker-mariadb-clean-arch.iml" />
|
<module fileurl="file://$PROJECT_DIR$/.idea/bill-server.iml" filepath="$PROJECT_DIR$/.idea/bill-server.iml" />
|
||||||
</modules>
|
</modules>
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
|
@ -1,7 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="SqlDialectMappings">
|
|
||||||
<file url="file://$PROJECT_DIR$/internal/bill/repository.go" dialect="GenericSQL" />
|
|
||||||
<file url="file://$PROJECT_DIR$/scripts/billMigrations.sql" dialect="MariaDB" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
|
@ -1,6 +1,6 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import "bill-go-fiber/internal/infrastructure"
|
import "bill-server/internal/infrastructure"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
infrastructure.Run()
|
infrastructure.Run()
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package city
|
package city
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bill-go-fiber/internal/user"
|
"bill-server/internal/user"
|
||||||
"context"
|
"context"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package city
|
package city
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bill-go-fiber/internal/auth"
|
"bill-server/internal/auth"
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/gofiber/fiber/v2"
|
"github.com/gofiber/fiber/v2"
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
package infrastructure
|
package infrastructure
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bill-go-fiber/internal/bill"
|
"bill-server/internal/bill"
|
||||||
"bill-go-fiber/internal/label"
|
"bill-server/internal/label"
|
||||||
"bill-go-fiber/internal/misc"
|
"bill-server/internal/misc"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/gofiber/fiber/v2"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
_ "github.com/go-sql-driver/mysql"
|
_ "github.com/go-sql-driver/mysql"
|
||||||
"github.com/gofiber/fiber/v2"
|
|
||||||
"github.com/gofiber/fiber/v2/middleware/compress"
|
"github.com/gofiber/fiber/v2/middleware/compress"
|
||||||
"github.com/gofiber/fiber/v2/middleware/cors"
|
"github.com/gofiber/fiber/v2/middleware/cors"
|
||||||
"github.com/gofiber/fiber/v2/middleware/etag"
|
"github.com/gofiber/fiber/v2/middleware/etag"
|
||||||
|
@ -30,7 +30,7 @@ func Run() {
|
||||||
|
|
||||||
// Creates a new Fiber instance.
|
// Creates a new Fiber instance.
|
||||||
app := fiber.New(fiber.Config{
|
app := fiber.New(fiber.Config{
|
||||||
AppName: "Docker MariaDB Clean Arch",
|
AppName: "Bill Server",
|
||||||
ServerHeader: "Fiber",
|
ServerHeader: "Fiber",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package infrastructure
|
package infrastructure
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bill-go-fiber/internal/bill"
|
"bill-server/internal/bill"
|
||||||
"bill-go-fiber/internal/label"
|
"bill-server/internal/label"
|
||||||
"gorm.io/driver/sqlite"
|
"gorm.io/driver/sqlite"
|
||||||
"gorm.io/gorm"
|
"gorm.io/gorm"
|
||||||
"log"
|
"log"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user