refactor: Renamed as gluri
This commit is contained in:
		@@ -4,9 +4,9 @@ import gleam/list
 | 
			
		||||
import gleam/option.{Some}
 | 
			
		||||
import gleam/string
 | 
			
		||||
import gleam/uri
 | 
			
		||||
import uri/internal/parser
 | 
			
		||||
import uri/internal/utils
 | 
			
		||||
import uri/types.{type Uri, Uri}
 | 
			
		||||
import gluri/internal/parser
 | 
			
		||||
import gluri/internal/utils
 | 
			
		||||
import gluri/types.{type Uri, Uri}
 | 
			
		||||
 | 
			
		||||
/// Parses a string to the RFC3986 standard.
 | 
			
		||||
/// `Error` is returned if it fails parsing.
 | 
			
		||||
@@ -4,10 +4,10 @@ import gleam/list.{Continue, Stop}
 | 
			
		||||
import gleam/option.{None, Some}
 | 
			
		||||
import gleam/result
 | 
			
		||||
import gleam/string
 | 
			
		||||
import gluri/internal/utils
 | 
			
		||||
import splitter
 | 
			
		||||
import uri/internal/utils
 | 
			
		||||
 | 
			
		||||
import uri/types.{type Uri, Uri, empty_uri}
 | 
			
		||||
import gluri/types.{type Uri, Uri, empty_uri}
 | 
			
		||||
 | 
			
		||||
pub fn parse(uri: String) -> Result(Uri, Nil) {
 | 
			
		||||
  case parse_scheme(uri) {
 | 
			
		||||
@@ -4,8 +4,8 @@ import gleam/list
 | 
			
		||||
import gleam/option.{type Option, None, Some}
 | 
			
		||||
import gleam/result
 | 
			
		||||
import gleam/string
 | 
			
		||||
import gluri/types.{type Uri, Uri}
 | 
			
		||||
import splitter.{type Splitter}
 | 
			
		||||
import uri/types.{type Uri, Uri}
 | 
			
		||||
 | 
			
		||||
pub const scheme_port = [
 | 
			
		||||
  #("http", 80),
 | 
			
		||||
		Reference in New Issue
	
	Block a user