Skip to content

Commit 855b2ac

Browse files
committed
#125: Move code into sub-package db
* updated `README.md`
1 parent dcf14b2 commit 855b2ac

File tree

1 file changed

+31
-27
lines changed

1 file changed

+31
-27
lines changed

README.md

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
[![Build](https://github.com/AbsaOSS/fa-db/workflows/Build/badge.svg)](https://github.com/AbsaOSS/fa-db/actions)
77

8-
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/za.co.absa.fa-db/core_2.11/badge.svg)](https://search.maven.org/search?q=g:za.co.absa.fa-db)
8+
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/za.co.absa..db.fa-db/core_2.12/badge.svg)](https://search.maven.org/search?q=g:za.co.absa.fa-db)
99

1010
___
1111

@@ -59,30 +59,32 @@ Import one of the two available module at the moment. Slick module works with Sc
5959
any effect type (typically IO or ZIO) provided cats effect's Async instance is available.
6060

6161
```scala
62-
libraryDependencies *= "za.co.absa.fa-db" %% "slick" % "X.Y.Z"
63-
libraryDependencies *= "za.co.absa.fa-db" %% "doobie" % "X.Y.Z"
62+
libraryDependencies *= "za.co.absa.db.fa-db" %% "slick" % "X.Y.Z"
63+
libraryDependencies *= "za.co.absa.db.fa-db" %% "doobie" % "X.Y.Z"
6464
```
6565

6666
#### Maven
6767

6868
##### Scala 2.12
6969

7070
Modules:
71-
* Core [![Maven Central](https://maven-badges.herokuapp.com/maven-central/za.co.absa.fa-db/core_2.12/badge.svg)](https://maven-badges.herokuapp.com/maven-central/za.co.absa.fa-db/core_2.12)
72-
* Slick [![Maven Central](https://maven-badges.herokuapp.com/maven-central/za.co.absa.fa-db/slick_2.12/badge.svg)](https://maven-badges.herokuapp.com/maven-central/za.co.absa.fa-db/slick_2.12)
73-
* Doobie [![Maven Central](https://maven-badges.herokuapp.com/maven-central/za.co.absa.fa-db/doobie_2.12/badge.svg)](https://maven-badges.herokuapp.com/maven-central/za.co.absa.fa-db/doobie_2.12)
71+
* Core [![Maven Central](https://maven-badges.herokuapp.com/maven-central/za.co.absa.db.fa-db/core_2.12/badge.svg)](https://maven-badges.herokuapp.com/maven-central/za.co.absa.fa-db/core_2.12)
72+
* Slick [![Maven Central](https://maven-badges.herokuapp.com/maven-central/za.co.absa.db.fa-db/slick_2.12/badge.svg)](https://maven-badges.herokuapp.com/maven-central/za.co.absa.fa-db/slick_2.12)
73+
* Doobie [![Maven Central](https://maven-badges.herokuapp.com/maven-central/za.co.absa.db.fa-db/doobie_2.12/badge.svg)](https://maven-badges.herokuapp.com/maven-central/za.co.absa.fa-db/doobie_2.12)
7474

7575
```xml
76-
<dependency>
77-
<groupId>za.co.absa.fa-db</groupId>
78-
<artifactId>slick_2.12</artifactId>
79-
<version>${latest_version}</version>
80-
</dependency>
81-
<dependency>
82-
<groupId>za.co.absa.fa-db</groupId>
83-
<artifactId>doobie_2.12</artifactId>
84-
<version>${latest_version}</version>
85-
</dependency>
76+
<dependencies>
77+
<dependency>
78+
<groupId>za.co.absa.db.fa-db</groupId>
79+
<artifactId>slick_2.12</artifactId>
80+
<version>${latest_version}</version>
81+
</dependency>
82+
<dependency>
83+
<groupId>za.co.absa.db.fa-db</groupId>
84+
<artifactId>doobie_2.12</artifactId>
85+
<version>${latest_version}</version>
86+
</dependency>
87+
</dependencies>
8688
```
8789

8890
### Scala 2.13
@@ -92,23 +94,25 @@ Modules:
9294
* Doobie [![Maven Central](https://maven-badges.herokuapp.com/maven-central/za.co.absa.fa-db/doobie_2.13/badge.svg)](https://maven-badges.herokuapp.com/maven-central/za.co.absa.fa-db/doobie_2.13)
9395

9496
```xml
95-
<dependency>
96-
<groupId>za.co.absa.fa-db</groupId>
97-
<artifactId>slick_2.13</artifactId>
98-
<version>${latest_version}</version>
99-
</dependency>
100-
<dependency>
101-
<groupId>za.co.absa.fa-db</groupId>
102-
<artifactId>doobie_2.13</artifactId>
103-
<version>${latest_version}</version>
104-
</dependency>
97+
<dependencies>
98+
<dependency>
99+
<groupId>za.co.absa.db.fa-db</groupId>
100+
<artifactId>slick_2.13</artifactId>
101+
<version>${latest_version}</version>
102+
</dependency>
103+
<dependency>
104+
<groupId>za.co.absa.db.fa-db</groupId>
105+
<artifactId>doobie_2.13</artifactId>
106+
<version>${latest_version}</version>
107+
</dependency>
108+
</dependencies>
105109
```
106110

107111
## Concepts
108112

109113
### Status codes
110114

111-
Text about status codes returned from the database function can be found [here](core/src/main/scala/za/co/absa/fadb/status/README.md).
115+
Text about status codes returned from the database function can be found [here](core/src/main/scala/za/co/absa/db/fadb/status/README.md).
112116

113117

114118
## Slick module

0 commit comments

Comments
 (0)