Skip to content

Commit

Permalink
fixed naming
Browse files Browse the repository at this point in the history
  • Loading branch information
banalna committed Oct 19, 2022
1 parent 835a24a commit 2ee9b66
Show file tree
Hide file tree
Showing 21 changed files with 5,841 additions and 21 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Sqlite components for Pip.Services in Go Changelog

## <a name="1.2.2"></a> 1.2.2 (2022-10-19)
## <a name="1.2.3"></a> 1.2.3 (2022-10-19)

### Bug Fixes
* Fixed and optimize queries
* Fixed factory file name
* Fixed factory
* Fixed file names


## <a name="1.2.0"></a> 1.2.0 (2021-04-03)
Expand Down
4 changes: 2 additions & 2 deletions build/DefaultSqliteFactory.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package build
import (
cref "github.com/pip-services3-go/pip-services3-commons-go/refer"
cbuild "github.com/pip-services3-go/pip-services3-components-go/build"
persist "github.com/pip-services3-go/pip-services3-sqlite-go/persistence"
sliteconn "github.com/pip-services3-go/pip-services3-sqlite-go/connect"
)

// Creates Sqlite components by their descriptors.
Expand All @@ -23,6 +23,6 @@ func NewDefaultSqliteFactory() *DefaultSqliteFactory {
Descriptor: cref.NewDescriptor("pip-services", "factory", "sqlite", "default", "1.0"),
SqliteConnectionDescriptor: cref.NewDescriptor("pip-services", "connection", "sqlite", "*", "1.0"),
}
c.RegisterType(c.SqliteConnectionDescriptor, persist.NewSqliteConnection)
c.RegisterType(c.SqliteConnectionDescriptor, sliteconn.NewSqliteConnection)
return c
}
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pip-services3-sqlite-go",
"type": "module",
"language": "go",
"version": "1.2.2",
"version": "1.2.3",
"build": 0,
"registry": "pipdevs",
"artifacts": [
Expand Down
6 changes: 3 additions & 3 deletions connect/SqliteConnection.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

/**
* PostgreSQL connection using plain driver.
* SQLite connection using plain driver.
*
* By defining a connection and sharing it through multiple persistence components
* you can reduce number of used database connections.
Expand All @@ -37,9 +37,9 @@ type SqliteConnection struct {
ConnectionResolver *SqliteConnectionResolver
// The configuration options.
Options *cconf.ConfigParams
// The PostgreSQL connection pool object.
// The SQLite connection pool object.
Connection *sql.DB
// The PostgreSQL database name.
// The SQLite database name.
DatabaseName string
}

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docker/Dockerfile.docs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV GO111MODULE=on

WORKDIR /app

RUN go install golang.org/x/tools/cmd/godoc
RUN go install golang.org/x/tools/cmd/godoc@latest

WORKDIR /app

Expand Down
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<head><meta http-equiv='refresh' content='0; URL=./pkg/index.html'></head>
Loading

0 comments on commit 2ee9b66

Please sign in to comment.