Created
October 8, 2018 01:54
-
-
Save cdaringe/05c657935d9bf0360901c9604e57d38f to your computer and use it in GitHub Desktop.
multiline-format.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let queryTemplate = r###" | |
{ | |
user (login: "{owner}") { | |
repositoriesContributedTo(first: 5) { | |
edges { | |
node { | |
id | |
nameWithOwner | |
} | |
} | |
} | |
} | |
} | |
"###; | |
let query = format!(queryTemplate, owner = owner); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment