File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ func main() {
88
99 let database = Database(client)
1010 database.createCollection(
11- collectionId: "",
11+ collectionId: "[COLLECTION_ID] ",
1212 name: "[NAME]",
1313 permission: "document",
1414 read: ["role:all"],
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ func main() {
99 let database = Database(client)
1010 database.createDocument(
1111 collectionId: "[COLLECTION_ID]",
12- documentId: "",
12+ documentId: "[DOCUMENT_ID] ",
1313 data:
1414 ) { result in
1515 switch result {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ func main() {
88
99 let functions = Functions(client)
1010 functions.create(
11- functionId: "",
11+ functionId: "[FUNCTION_ID] ",
1212 name: "[NAME]",
1313 execute: [],
1414 runtime: "node-14.5"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ func main() {
88
99 let storage = Storage(client)
1010 storage.createFile(
11- fileId: "",
11+ fileId: "[FILE_ID] ",
1212 file: File(name: "image.jpg", buffer: yourByteBuffer)
1313 ) { result in
1414 switch result {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ func main() {
88
99 let teams = Teams(client)
1010 teams.create(
11- teamId: "",
11+ teamId: "[TEAM_ID] ",
1212 name: "[NAME]"
1313 ) { result in
1414 switch result {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ func main() {
88
99 let users = Users(client)
1010 users.create(
11- userId: "",
11+ userId: "[USER_ID] ",
1212 email: "email@example.com",
1313 password: "password"
1414 ) { result in
You can’t perform that action at this time.
0 commit comments