{"id":568,"date":"2014-07-24T15:42:05","date_gmt":"2014-07-24T19:42:05","guid":{"rendered":"https:\/\/blog.splice.com\/?p=568"},"modified":"2017-12-09T12:26:43","modified_gmt":"2017-12-09T17:26:43","slug":"contributing-open-source-git-repositories-go","status":"publish","type":"post","link":"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/","title":{"rendered":"Contributing to Open Source Git Repositories in Go"},"content":{"rendered":"<p><small style=\"float: right; margin-bottom: 10px;\"><i>Photo Credit: <a href=\"https:\/\/flic.kr\/p\/jyNSnE\">t1ggr<\/a><\/i><\/small><\/p>\n<p style=\"clear: both;\">Dependencies. They&#8217;re knotty, and there really is <a href=\"http:\/\/nathany.com\/go-packages\/\">no straight-forward, one-size-fits all solution<\/a>.<\/p>\n<blockquote><p>Dependency hell is a colloquial term for the frustration of some software users who have installed software packages which have dependencies on specific versions of other software packages. \u2014Wikipedia<\/p><\/blockquote>\n<p>I recently saw a comment on GitHub:<\/p>\n<blockquote><p>When I run [the tests] they always pass, but that is because they import the package from [the package path] and not my local fork.<\/p><\/blockquote>\n<p>What&#8217;s going on here?<\/p>\n<p>In order to illustrate the problem, imagine the following hypothetical scenario.<\/p>\n<h2 id=\"hell-wrld\">Hell\u00f8, W\u00f8rld<\/h2>\n<p>You&#8217;re using my <a href=\"https:\/\/github.com\/kytrinyx\/norwegish\">sophisticated library<\/a>, which translates English into Norwegish.<\/p>\n<pre><code>    package main\r\n\r\n    import (\r\n            \"fmt\"\r\n\r\n            \"github.com\/kytrinyx\/norwegish\"\r\n    )\r\n\r\n    func main() {\r\n            fmt.Println(norwegish.Translate(\"Hello, World!\"))\r\n    }\r\n<\/code><\/pre>\n<p>You realize that the output is, incorrectly, <em>Hell\u00f8, W\u00f8rld<\/em>, so you fork my project in order to fix it so that it uses the correct translation, <em>Hell\u00f8 V\u00f8rld<\/em>.<\/p>\n<p>You <code>go get<\/code> your fork, and run the tests. As expected, they&#8217;re passing.<br \/>\nThen you add a test for the V\u00f8rld case, and (as expected) it fails.<br \/>\nFinally, you change the code to fix the bug and run the tests, but\u2014no dice\u2014they&#8217;re still failing.<\/p>\n<h2 id=\"import-paths-and-gopath\">Import Paths and $GOPATH<\/h2>\n<p>If you look closely at my test suite, it tests the package from the outside, black-box style, importing the <code>norwegish<\/code> package using the <code>github.com\/kytrinyx\/norwegish<\/code> <a href=\"http:\/\/www.golangbootcamp.com\/book\/basics#sec-packages\">import path<\/a>, just like you would in any other application.<\/p>\n<p>In other words, the tests are using the code which you already have on your system at <code>$GOPATH\/src\/github.com\/kytrinyx\/norwegish<\/code>.<\/p>\n<p>The tests in your fork are still importing the original package, which doesn&#8217;t have the fix. You could manually change the import path, but that would be tedious and error prone.<\/p>\n<p>The key is to use multiple remotes.<\/p>\n<h2 id=\"mine-yours-origin-upstream\">Mine, Yours, Origin, Upstream<\/h2>\n<p>Everything works out if you have both the original and your fork living on your system in the directory corresponding to the original&#8217;s import path.<\/p>\n<p>When you first <code>go get<\/code> or clone a repository, you will have a single remote, with the default name <em>origin<\/em>.<\/p>\n<pre><code>    $ cd $GOPATH\/src\/github\/kytrinyx\/norwegish\r\n    $ git remote -v\r\n    origin  https:\/\/github.com\/kytrinyx\/norwegish (fetch)\r\n    origin  https:\/\/github.com\/kytrinyx\/norwegish (push)\r\n<\/code><\/pre>\n<p>You can add new remotes at will. This is good when you want to try out some random person&#8217;s patch on a project:<\/p>\n<pre><code>    $ git remote add rando1 git@github.com:random-person1\/norwegish.git\r\n    $ git remote add rando2 git@github.com:random-person2\/norwegish.git\r\n<\/code><\/pre>\n<p>Then you can <code>git fetch rando1<\/code> and check out branches based on their code.<\/p>\n<p>Handy.<\/p>\n<p>In this case, what we want is <em>your<\/em> fork as the secondary:<\/p>\n<pre><code>    $ git remote add fork git@github.com:you\/norwegish.git\r\n<\/code><\/pre>\n<p>Now you&#8217;ll have two remotes, <code>origin<\/code> and <code>fork<\/code>:<\/p>\n<pre><code>    $ git remote -v\r\n    fork    git@github.com:you\/norwegish.git (fetch)\r\n    fork    git@github.com:you\/norwegish.git (push)\r\n    origin  https:\/\/github.com\/kytrinyx\/norwegish (fetch)\r\n    origin  https:\/\/github.com\/kytrinyx\/norwegish (push)\r\n<\/code><\/pre>\n<p>With this setup, the tests will pass, because your fix lives at the correct import path.<\/p>\n<h2 id=\"side-note\">Side Note<\/h2>\n<p>I like to use the remote name <code>origin<\/code> for my version of a project, and <code>upstream<\/code> for the upstream that I forked it from, but I&#8217;m somewhat obsessed with naming and consistency. If you have unhealthy obsessions too, you can remove and re-add remotes:<\/p>\n<pre><code>    $ git remote rename origin upstream\r\n    $ git remote rename fork origin\r\n<\/code><\/pre>\n<h2 id=\"branching-and-pull-requests\">Branching and Pull Requests<\/h2>\n<p>Assuming that the kytrinyx\/norwegish repo is at <code>origin<\/code>, and your fork is at <code>fork<\/code>, you can use all the usual branching shenanigans for creating a pull request:<\/p>\n<pre><code>    git checkout -b fix-capital-w-bug\r\n    git commit add -m \"Translate capital W to capital V\"\r\n    git push fork fix-capital-w-bug\r\n<\/code><\/pre>\n<p>&#8230; and then easily reset master so you don&#8217;t get out of sync:<\/p>\n<pre><code>    git fetch origin\r\n    git reset --hard origin\/master\r\n<\/code><\/pre>\n<p>It turns out this is not too complicated after all.<\/p>\n<p>About Katrina Owen:<\/p>\n<p>Katrina is obsessed with refactoring, idiomatic code, and naming things. She is the creator of \u00a0<a href=\"http:\/\/exercism.io\/\" target=\"_blank\">Exercism.io<\/a>, an open source application that combines practice problems with crowd-sourced mentorship, which is written mostly in Ruby and Go.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dependencies. They&#8217;re knotty, and there really is no straight-forward, one-size-fits all solution.<\/p>\n","protected":false},"author":2,"featured_media":576,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[61],"tags":[115],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to contribute to a Go open source git repo<\/title>\n<meta name=\"description\" content=\"Learn how to deal with golang dependencies when contributing to go open source git repositories.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to contribute to a Go open source git repo\" \/>\n<meta property=\"og:description\" content=\"Learn how to deal with golang dependencies when contributing to go open source git repositories.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog | Splice\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Splice\" \/>\n<meta property=\"article:author\" content=\"http:\/\/facebook.com\/spliceofficial\" \/>\n<meta property=\"article:published_time\" content=\"2014-07-24T19:42:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-12-09T17:26:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/splice.com\/blog\/wp-content\/uploads\/2014\/07\/12185694304_f1a8732598_b.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"619\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Team Splice\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@http:\/\/twitter.com\/splice\" \/>\n<meta name=\"twitter:site\" content=\"@splice\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Team Splice\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/\"},\"author\":{\"name\":\"Team Splice\",\"@id\":\"https:\/\/splice.com\/blog\/#\/schema\/person\/1264212de6b56a47de705ec3ad103943\"},\"headline\":\"Contributing to Open Source Git Repositories in Go\",\"datePublished\":\"2014-07-24T19:42:05+00:00\",\"dateModified\":\"2017-12-09T17:26:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/\"},\"wordCount\":541,\"publisher\":{\"@id\":\"https:\/\/splice.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/splice.com\/blog\/wp-content\/uploads\/2014\/07\/12185694304_f1a8732598_b.jpg\",\"keywords\":[\"engineering\"],\"articleSection\":[\"Engineering\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/\",\"url\":\"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/\",\"name\":\"How to contribute to a Go open source git repo\",\"isPartOf\":{\"@id\":\"https:\/\/splice.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/splice.com\/blog\/wp-content\/uploads\/2014\/07\/12185694304_f1a8732598_b.jpg\",\"datePublished\":\"2014-07-24T19:42:05+00:00\",\"dateModified\":\"2017-12-09T17:26:43+00:00\",\"description\":\"Learn how to deal with golang dependencies when contributing to go open source git repositories.\",\"breadcrumb\":{\"@id\":\"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/#primaryimage\",\"url\":\"https:\/\/splice.com\/blog\/wp-content\/uploads\/2014\/07\/12185694304_f1a8732598_b.jpg\",\"contentUrl\":\"https:\/\/splice.com\/blog\/wp-content\/uploads\/2014\/07\/12185694304_f1a8732598_b.jpg\",\"width\":1024,\"height\":619},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/splice.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Contributing to Open Source Git Repositories in Go\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/splice.com\/blog\/#website\",\"url\":\"https:\/\/splice.com\/blog\/\",\"name\":\"Splice Blog\",\"description\":\"An inside look at making music\",\"publisher\":{\"@id\":\"https:\/\/splice.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/splice.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/splice.com\/blog\/#organization\",\"name\":\"Splice\",\"alternateName\":\"Splice Sounds\",\"url\":\"https:\/\/splice.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/splice.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/splice.com\/blog\/wp-content\/uploads\/2023\/09\/Splice-logo-black-background.png\",\"contentUrl\":\"https:\/\/splice.com\/blog\/wp-content\/uploads\/2023\/09\/Splice-logo-black-background.png\",\"width\":2928,\"height\":1540,\"caption\":\"Splice\"},\"image\":{\"@id\":\"https:\/\/splice.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Splice\",\"https:\/\/x.com\/splice\",\"https:\/\/www.instagram.com\/splice\/\",\"https:\/\/www.youtube.com\/@splice\",\"https:\/\/discord.com\/invite\/splice\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/splice.com\/blog\/#\/schema\/person\/1264212de6b56a47de705ec3ad103943\",\"name\":\"Team Splice\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/splice.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4428b1733406dca9c238897202320bb3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4428b1733406dca9c238897202320bb3?s=96&d=mm&r=g\",\"caption\":\"Team Splice\"},\"sameAs\":[\"http:\/\/splice.wpengine.com\",\"http:\/\/facebook.com\/spliceofficial\",\"https:\/\/instagram.com\/splice\",\"https:\/\/x.com\/http:\/\/twitter.com\/splice\",\"https:\/\/www.youtube.com\/channel\/UCb8xLPa5RP8TnCsU7E5ASKQ\"],\"url\":\"https:\/\/splice.com\/blog\/author\/splice\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to contribute to a Go open source git repo","description":"Learn how to deal with golang dependencies when contributing to go open source git repositories.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/","og_locale":"en_US","og_type":"article","og_title":"How to contribute to a Go open source git repo","og_description":"Learn how to deal with golang dependencies when contributing to go open source git repositories.","og_url":"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/","og_site_name":"Blog | Splice","article_publisher":"https:\/\/www.facebook.com\/Splice","article_author":"http:\/\/facebook.com\/spliceofficial","article_published_time":"2014-07-24T19:42:05+00:00","article_modified_time":"2017-12-09T17:26:43+00:00","og_image":[{"width":1024,"height":619,"url":"https:\/\/splice.com\/blog\/wp-content\/uploads\/2014\/07\/12185694304_f1a8732598_b.jpg","type":"image\/jpeg"}],"author":"Team Splice","twitter_card":"summary_large_image","twitter_creator":"@http:\/\/twitter.com\/splice","twitter_site":"@splice","twitter_misc":{"Written by":"Team Splice","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/#article","isPartOf":{"@id":"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/"},"author":{"name":"Team Splice","@id":"https:\/\/splice.com\/blog\/#\/schema\/person\/1264212de6b56a47de705ec3ad103943"},"headline":"Contributing to Open Source Git Repositories in Go","datePublished":"2014-07-24T19:42:05+00:00","dateModified":"2017-12-09T17:26:43+00:00","mainEntityOfPage":{"@id":"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/"},"wordCount":541,"publisher":{"@id":"https:\/\/splice.com\/blog\/#organization"},"image":{"@id":"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/#primaryimage"},"thumbnailUrl":"https:\/\/splice.com\/blog\/wp-content\/uploads\/2014\/07\/12185694304_f1a8732598_b.jpg","keywords":["engineering"],"articleSection":["Engineering"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/","url":"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/","name":"How to contribute to a Go open source git repo","isPartOf":{"@id":"https:\/\/splice.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/#primaryimage"},"image":{"@id":"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/#primaryimage"},"thumbnailUrl":"https:\/\/splice.com\/blog\/wp-content\/uploads\/2014\/07\/12185694304_f1a8732598_b.jpg","datePublished":"2014-07-24T19:42:05+00:00","dateModified":"2017-12-09T17:26:43+00:00","description":"Learn how to deal with golang dependencies when contributing to go open source git repositories.","breadcrumb":{"@id":"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/#primaryimage","url":"https:\/\/splice.com\/blog\/wp-content\/uploads\/2014\/07\/12185694304_f1a8732598_b.jpg","contentUrl":"https:\/\/splice.com\/blog\/wp-content\/uploads\/2014\/07\/12185694304_f1a8732598_b.jpg","width":1024,"height":619},{"@type":"BreadcrumbList","@id":"https:\/\/splice.com\/blog\/contributing-open-source-git-repositories-go\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/splice.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Contributing to Open Source Git Repositories in Go"}]},{"@type":"WebSite","@id":"https:\/\/splice.com\/blog\/#website","url":"https:\/\/splice.com\/blog\/","name":"Splice Blog","description":"An inside look at making music","publisher":{"@id":"https:\/\/splice.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/splice.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/splice.com\/blog\/#organization","name":"Splice","alternateName":"Splice Sounds","url":"https:\/\/splice.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/splice.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/splice.com\/blog\/wp-content\/uploads\/2023\/09\/Splice-logo-black-background.png","contentUrl":"https:\/\/splice.com\/blog\/wp-content\/uploads\/2023\/09\/Splice-logo-black-background.png","width":2928,"height":1540,"caption":"Splice"},"image":{"@id":"https:\/\/splice.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Splice","https:\/\/x.com\/splice","https:\/\/www.instagram.com\/splice\/","https:\/\/www.youtube.com\/@splice","https:\/\/discord.com\/invite\/splice"]},{"@type":"Person","@id":"https:\/\/splice.com\/blog\/#\/schema\/person\/1264212de6b56a47de705ec3ad103943","name":"Team Splice","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/splice.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4428b1733406dca9c238897202320bb3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4428b1733406dca9c238897202320bb3?s=96&d=mm&r=g","caption":"Team Splice"},"sameAs":["http:\/\/splice.wpengine.com","http:\/\/facebook.com\/spliceofficial","https:\/\/instagram.com\/splice","https:\/\/x.com\/http:\/\/twitter.com\/splice","https:\/\/www.youtube.com\/channel\/UCb8xLPa5RP8TnCsU7E5ASKQ"],"url":"https:\/\/splice.com\/blog\/author\/splice\/"}]}},"_links":{"self":[{"href":"https:\/\/splice.com\/blog\/wp-json\/wp\/v2\/posts\/568"}],"collection":[{"href":"https:\/\/splice.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/splice.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/splice.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/splice.com\/blog\/wp-json\/wp\/v2\/comments?post=568"}],"version-history":[{"count":0,"href":"https:\/\/splice.com\/blog\/wp-json\/wp\/v2\/posts\/568\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/splice.com\/blog\/wp-json\/wp\/v2\/media\/576"}],"wp:attachment":[{"href":"https:\/\/splice.com\/blog\/wp-json\/wp\/v2\/media?parent=568"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/splice.com\/blog\/wp-json\/wp\/v2\/categories?post=568"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/splice.com\/blog\/wp-json\/wp\/v2\/tags?post=568"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}