Rename Module

This commit is contained in:
snoutie 2025-03-24 10:01:47 +01:00
parent fa0679163f
commit 8d3dfb1457
11 changed files with 16 additions and 16 deletions

View File

@ -18,12 +18,12 @@
package api
import (
"api-cds-search/cmd/database/table"
"encoding/json"
"errors"
"fmt"
"io"
"net/http"
"sap-cds-search/cmd/database/table"
"time"
)

View File

@ -18,8 +18,8 @@
package table
import (
"api-cds-search/cmd/database"
_ "embed"
"sap-cds-search/cmd/database"
)
type CDSView struct {

View File

@ -18,8 +18,8 @@
package table
import (
"api-cds-search/cmd/database"
_ "embed"
"sap-cds-search/cmd/database"
)
type CDSViewField struct {

View File

@ -18,8 +18,8 @@
package table
import (
"api-cds-search/cmd/database"
_ "embed"
"sap-cds-search/cmd/database"
)
type Keyword struct {

View File

@ -18,8 +18,8 @@
package model
import (
"api-cds-search/cmd/database/table"
"fmt"
"sap-cds-search/cmd/database/table"
"strings"
"golang.org/x/text/cases"

View File

@ -17,7 +17,7 @@
package model
import "sap-cds-search/cmd/database/table"
import "api-cds-search/cmd/database/table"
func GetKeywordsModel() (*[]table.Keyword, error) {
keywords, err := table.GetAllKeywords()

View File

@ -18,10 +18,10 @@
package router
import (
"api-cds-search/cmd/search"
"api-cds-search/cmd/ui"
"fmt"
"net/http"
"sap-cds-search/cmd/search"
"sap-cds-search/cmd/ui"
"github.com/go-chi/chi"
)

View File

@ -18,11 +18,11 @@
package search
import (
"api-cds-search/cmd/model"
"api-cds-search/cmd/ui"
"errors"
"fmt"
"net/http"
"sap-cds-search/cmd/model"
"sap-cds-search/cmd/ui"
"slices"
"strconv"
"strings"

View File

@ -14,7 +14,7 @@
<footer style="position: fixed; bottom: 0px">
<a
style="color: var(--on_background)"
href="https://code.achtarmig.org/sap/api_cds"
href="https://code.achtarmig.org/sap/api-cds-search"
>Source</a
>
</footer>

2
go.mod
View File

@ -1,4 +1,4 @@
module sap-cds-search
module api-cds-search
go 1.23.7

View File

@ -1,12 +1,12 @@
package main
import (
"api-cds-search/cmd/database"
"api-cds-search/cmd/router"
"api-cds-search/cmd/search"
"api-cds-search/cmd/ui"
"fmt"
"net/http"
"sap-cds-search/cmd/database"
"sap-cds-search/cmd/router"
"sap-cds-search/cmd/search"
"sap-cds-search/cmd/ui"
)
func main() {