You can use `url.Parse()` then `.Scheme` to get the scheme using the packages from the stdlib.  `import net/url`