Skip to content

Commit

Permalink
move over core api.go and tests to the start of core/http
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-gray101 committed Feb 20, 2024
1 parent 15b2c0e commit fd5b022
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion api/api.go → core/http/api.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package api
package http

import (
"encoding/json"
Expand Down
4 changes: 2 additions & 2 deletions api/api_test.go → core/http/api_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package api_test
package http_test

import (
"bytes"
Expand All @@ -13,7 +13,7 @@ import (
"path/filepath"
"runtime"

. "github.com/go-skynet/LocalAI/api"
. "github.com/go-skynet/LocalAI/core/http"
"github.com/go-skynet/LocalAI/core/options"
"github.com/go-skynet/LocalAI/metrics"
"github.com/go-skynet/LocalAI/pkg/downloader"
Expand Down
2 changes: 1 addition & 1 deletion api/apt_suite_test.go → core/http/apt_suite_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package api_test
package http_test

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"syscall"
"time"

api "github.com/go-skynet/LocalAI/api"
"github.com/go-skynet/LocalAI/core/backend"
config "github.com/go-skynet/LocalAI/core/config"
api "github.com/go-skynet/LocalAI/core/http"
"github.com/go-skynet/LocalAI/core/options"
"github.com/go-skynet/LocalAI/internal"
"github.com/go-skynet/LocalAI/metrics"
Expand Down

0 comments on commit fd5b022

Please sign in to comment.