Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Commit 3abe30b

Browse files
authored
Cleared internal packages - fixes #20 and #21. (#29)
* Fixes #20, #21 issues. - Moved package /encoding/jsonapi to repository `github.com/neuronlabs/jsonapi` - #20 #21 Changes: - Removed internal/controller package - moved to /controller - Removed internal/models package - moved to /mapping - Removed internal/query, /query/filters, /query/tests packages - moved to /query Moved /query/mocks to repository `github.com/neuronlabs/neuron-mocks` as a separate repository package. * Removed readme jsonapi information.
1 parent 8c3e2fc commit 3abe30b

File tree

121 files changed

+6488
-14015
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+6488
-14015
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ The `neuron-core` is composed of the following packages:
151151
* `controller` - is the neuron's core, that registers and stores the models and contains configurations required by other packages.
152152
* `mapping` - contains the information about the mapped models their fields and settings
153153
* `config` - contains the configurations structures.
154-
* `encoding/jsonapi` - allows to marshal and unmarshal the model's, and queries by the https://jsonapi.org/ specification
155154
* `class` - contains `github.com/neuronlabs/errors` class instances used by the neuron-core package.
156155
* `repository` - is a package used to store, get and register the repositories nad their factories.
157156
* `log` - is the logging interface for the neuron based applications.

config/controller_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
package config
22

33
import (
4+
"testing"
5+
46
"github.com/stretchr/testify/assert"
57
"github.com/stretchr/testify/require"
6-
"testing"
78
)
89

910
// TestControllerMapRepositories tests the map repository config function.

0 commit comments

Comments
 (0)