Skip to content

Commit

Permalink
Move from master to main
Browse files Browse the repository at this point in the history
  • Loading branch information
macnealefauna committed Jul 20, 2021
1 parent d71e0c0 commit 708b6cd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ This demo is a simple blog post manager. It has a basic model called `Post`,
instances of which must have a title and may optionally have a body.

Most of the interaction with FaunaDB is located in the
[Posts.swift](https://github.com/fauna/faunadb-swift/blob/master/Example/Example/Post.swift)
[Posts.swift](https://github.com/fauna/faunadb-swift/blob/main/Example/Example/Post.swift)
file. It contains the base model `Post` as well as the code needed to store,
update, delete, and show posts saved at FaunaDB.

[Database.swift](https://github.com/fauna/faunadb-swift/blob/master/Example/Example/Database.swift)
[Database.swift](https://github.com/fauna/faunadb-swift/blob/main/Example/Example/Database.swift)
contains the database setup for this demo. In a real life application, that code
would live somewhere else, such as a separated provisioning script. For the
purpose of this example it is easier to let the application setup the database
Expand All @@ -36,4 +36,4 @@ create, update, delete, and show the blog posts.

## Demo

![](https://github.com/fauna/faunadb-swift/blob/master/Example/demo.gif)
![](https://github.com/fauna/faunadb-swift/blob/main/Example/demo.gif)
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
FaunaDB's Swift driver is now "community-supported". New features won't be exposed in the driver unless the necessary changes are contributed by a community member. Please email [email protected] if you have any questions/concerns, or would like to take a more active role in the development of the driver (eg. partnering with us and operating as a "maintainer" for the driver).

[![CocoaPods](https://img.shields.io/cocoapods/v/FaunaDB.svg)](http://cocoapods.org/pods/FaunaDB)
[![Coverage Status](https://codecov.io/gh/fauna/faunadb-swift/branch/master/graph/badge.svg)](https://codecov.io/gh/fauna/faunadb-swift)
[![License](https://img.shields.io/badge/license-MPL_2.0-blue.svg?maxAge=2592000)](https://raw.githubusercontent.com/fauna/faunadb-swift/master/LICENSE)
[![Coverage Status](https://codecov.io/gh/fauna/faunadb-swift/branch/main/graph/badge.svg)](https://codecov.io/gh/fauna/faunadb-swift)
[![License](https://img.shields.io/badge/license-MPL_2.0-blue.svg?maxAge=2592000)](https://raw.githubusercontent.com/fauna/faunadb-swift/main/LICENSE)

A Swift driver for [FaunaDB](https://fauna.com)

Expand All @@ -19,7 +19,7 @@ A Swift driver for [FaunaDB](https://fauna.com)
Check out the Swift-specific [reference documentation](http://fauna.github.io/faunadb-swift/).

You can find more information in the FaunaDB [documentation](https://docs.fauna.com/)
and in our [example project](https://github.com/fauna/faunadb-swift/tree/master/Example).
and in our [example project](https://github.com/fauna/faunadb-swift/tree/main/Example).

## Using the Driver

Expand Down Expand Up @@ -88,7 +88,7 @@ let post: Post = try! getPost.map { dbEntry in dbEntry.get("data") }
```

For more examples, check our online [documentation](https://docs.fauna.com/)
and our [example project](https://github.com/fauna/faunadb-swift/tree/master/Example).
and our [example project](https://github.com/fauna/faunadb-swift/tree/main/Example).

## Contributing

Expand Down

0 comments on commit 708b6cd

Please sign in to comment.