From 4ce81358adfc3da4790dd9430b6ad20722512aae Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Thu, 4 Jul 2024 09:54:41 -0700 Subject: [PATCH] sourcecode.social -> github.com --- README.md | 10 +++++----- go.mod | 4 ++-- go.sum | 4 ++-- map_test.go | 2 +- optional_filter_test.go | 2 +- optional_get_test.go | 2 +- optional_getelse_test.go | 2 +- optional_gostring_test.go | 2 +- optional_isnothing_int_test.go | 2 +- optional_issomething_int_test.go | 2 +- optional_marshaljson.go | 2 +- optional_marshaljson_bool_test.go | 2 +- optional_marshaljson_int_test.go | 2 +- optional_marshaljson_string_test.go | 2 +- optional_unmarshaljson.go | 2 +- optional_unmarshaljson_bool_test.go | 2 +- optional_unmarshaljson_int64_test.go | 2 +- optional_unmarshaljson_int_test.go | 2 +- optional_unmarshaljson_string_test.go | 2 +- optional_unmarshaljson_uint64_test.go | 2 +- optional_whennothing_test.go | 2 +- optional_whensomething_test.go | 2 +- then_test.go | 2 +- 23 files changed, 29 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 141f267..2f96287 100644 --- a/README.md +++ b/README.md @@ -6,15 +6,15 @@ In other programming languages, an **optional-type** might be know as: a **optio ## Documention -Online documentation, which includes examples, can be found at: http://godoc.org/sourcecode.social/reiver/go-opt +Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-opt -[![GoDoc](https://godoc.org/sourcecode.social/reiver/go-opt?status.svg)](https://godoc.org/sourcecode.social/reiver/go-opt) +[![GoDoc](https://godoc.org/github.com/reiver/go-opt?status.svg)](https://godoc.org/github.com/reiver/go-opt) ## Examples Here is an example **optional-type** that can hold a string: ```go -import "sourcecode.social/reiver/go-opt" +import "github.com/reiver/go-opt" // @@ -59,14 +59,14 @@ if found { To import package **opt** use `import` code like the follownig: ``` -import "sourcecode.social/reiver/go-opt" +import "github.com/reiver/go-opt" ``` ## Installation To install package **opt** do the following: ``` -GOPROXY=direct go get https://sourcecode.social/reiver/go-opt +GOPROXY=direct go get https://github.com/reiver/go-opt ``` ## Author diff --git a/go.mod b/go.mod index 48ed707..8b0180d 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ -module sourcecode.social/reiver/go-opt +module github.com/reiver/go-opt go 1.18 -require sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1 // indirect +require github.com/reiver/go-erorr v0.0.0-20240704145350-0485e21eaa82 diff --git a/go.sum b/go.sum index fa79421..eec5ece 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1 h1:wpnz4JicQBLWrgGphYBls7DysIFCcnWgDz/vce/sY8E= -sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1/go.mod h1:NFtd7fzEf0r6A6R7JXYZfayRhPaJy0zt/18VWoLzrxA= +github.com/reiver/go-erorr v0.0.0-20240704145350-0485e21eaa82 h1:xxt7qL+7ZfRysXWXU2MpULOg/zWe5P+Fmw9VyUFCmZE= +github.com/reiver/go-erorr v0.0.0-20240704145350-0485e21eaa82/go.mod h1:F0HbBf+Ak2ZlE8YkDW4Y+KxaUmT0KaaIJK6CXY3cJxE= diff --git a/map_test.go b/map_test.go index 6fc654e..3116ad7 100644 --- a/map_test.go +++ b/map_test.go @@ -1,7 +1,7 @@ package opt_test import ( - "sourcecode.social/reiver/go-opt" + "github.com/reiver/go-opt" "testing" ) diff --git a/optional_filter_test.go b/optional_filter_test.go index 4228c93..76f6b8c 100644 --- a/optional_filter_test.go +++ b/optional_filter_test.go @@ -1,7 +1,7 @@ package opt_test import ( - "sourcecode.social/reiver/go-opt" + "github.com/reiver/go-opt" "testing" ) diff --git a/optional_get_test.go b/optional_get_test.go index d732187..e455f69 100644 --- a/optional_get_test.go +++ b/optional_get_test.go @@ -1,7 +1,7 @@ package opt_test import ( - "sourcecode.social/reiver/go-opt" + "github.com/reiver/go-opt" "testing" ) diff --git a/optional_getelse_test.go b/optional_getelse_test.go index cc4bf61..56213e8 100644 --- a/optional_getelse_test.go +++ b/optional_getelse_test.go @@ -1,7 +1,7 @@ package opt_test import ( - "sourcecode.social/reiver/go-opt" + "github.com/reiver/go-opt" "testing" ) diff --git a/optional_gostring_test.go b/optional_gostring_test.go index fb07823..d79b866 100644 --- a/optional_gostring_test.go +++ b/optional_gostring_test.go @@ -1,7 +1,7 @@ package opt_test import ( - "sourcecode.social/reiver/go-opt" + "github.com/reiver/go-opt" "fmt" diff --git a/optional_isnothing_int_test.go b/optional_isnothing_int_test.go index 70756d2..97538ff 100644 --- a/optional_isnothing_int_test.go +++ b/optional_isnothing_int_test.go @@ -3,7 +3,7 @@ package opt_test import ( "testing" - "sourcecode.social/reiver/go-opt" + "github.com/reiver/go-opt" ) func TestOptional_IsNothing_int(t *testing.T) { diff --git a/optional_issomething_int_test.go b/optional_issomething_int_test.go index 66a36ec..f7570c9 100644 --- a/optional_issomething_int_test.go +++ b/optional_issomething_int_test.go @@ -3,7 +3,7 @@ package opt_test import ( "testing" - "sourcecode.social/reiver/go-opt" + "github.com/reiver/go-opt" ) func TestOptional_IsSomething_int(t *testing.T) { diff --git a/optional_marshaljson.go b/optional_marshaljson.go index 1444167..43be907 100644 --- a/optional_marshaljson.go +++ b/optional_marshaljson.go @@ -3,7 +3,7 @@ package opt import ( "encoding/json" - "sourcecode.social/reiver/go-erorr" + "github.com/reiver/go-erorr" ) var _ json.Marshaler = Nothing[bool]() diff --git a/optional_marshaljson_bool_test.go b/optional_marshaljson_bool_test.go index dfaa32e..d333abf 100644 --- a/optional_marshaljson_bool_test.go +++ b/optional_marshaljson_bool_test.go @@ -3,7 +3,7 @@ package opt_test import ( "testing" - "sourcecode.social/reiver/go-opt" + "github.com/reiver/go-opt" ) func TestOptional_MarshalJSON_bool(t *testing.T) { diff --git a/optional_marshaljson_int_test.go b/optional_marshaljson_int_test.go index d702770..b54666d 100644 --- a/optional_marshaljson_int_test.go +++ b/optional_marshaljson_int_test.go @@ -3,7 +3,7 @@ package opt_test import ( "testing" - "sourcecode.social/reiver/go-opt" + "github.com/reiver/go-opt" ) func TestOptional_MarshalJSON_int(t *testing.T) { diff --git a/optional_marshaljson_string_test.go b/optional_marshaljson_string_test.go index eff2ec8..35a870c 100644 --- a/optional_marshaljson_string_test.go +++ b/optional_marshaljson_string_test.go @@ -3,7 +3,7 @@ package opt_test import ( "testing" - "sourcecode.social/reiver/go-opt" + "github.com/reiver/go-opt" ) func TestOptional_MarshalJSON_string(t *testing.T) { diff --git a/optional_unmarshaljson.go b/optional_unmarshaljson.go index 4e87d46..462494c 100644 --- a/optional_unmarshaljson.go +++ b/optional_unmarshaljson.go @@ -3,7 +3,7 @@ package opt import ( "encoding/json" - "sourcecode.social/reiver/go-erorr" + "github.com/reiver/go-erorr" ) const errNilReceiver = erorr.Error("opt: nil receiver") diff --git a/optional_unmarshaljson_bool_test.go b/optional_unmarshaljson_bool_test.go index c0b6346..7cc2774 100644 --- a/optional_unmarshaljson_bool_test.go +++ b/optional_unmarshaljson_bool_test.go @@ -5,7 +5,7 @@ import ( "encoding/json" - "sourcecode.social/reiver/go-opt" + "github.com/reiver/go-opt" ) func TestOptional_UnmarshalJSON_bool(t *testing.T) { diff --git a/optional_unmarshaljson_int64_test.go b/optional_unmarshaljson_int64_test.go index 31951a3..248fd4f 100644 --- a/optional_unmarshaljson_int64_test.go +++ b/optional_unmarshaljson_int64_test.go @@ -5,7 +5,7 @@ import ( "encoding/json" - "sourcecode.social/reiver/go-opt" + "github.com/reiver/go-opt" ) func TestOptional_UnmarshalJSON_int64(t *testing.T) { diff --git a/optional_unmarshaljson_int_test.go b/optional_unmarshaljson_int_test.go index 3ae37d9..00d2821 100644 --- a/optional_unmarshaljson_int_test.go +++ b/optional_unmarshaljson_int_test.go @@ -5,7 +5,7 @@ import ( "encoding/json" - "sourcecode.social/reiver/go-opt" + "github.com/reiver/go-opt" ) func TestOptional_UnmarshalJSON_int(t *testing.T) { diff --git a/optional_unmarshaljson_string_test.go b/optional_unmarshaljson_string_test.go index 761cd3b..35ef609 100644 --- a/optional_unmarshaljson_string_test.go +++ b/optional_unmarshaljson_string_test.go @@ -5,7 +5,7 @@ import ( "encoding/json" - "sourcecode.social/reiver/go-opt" + "github.com/reiver/go-opt" ) func TestOptional_UnmarshalJSON_string(t *testing.T) { diff --git a/optional_unmarshaljson_uint64_test.go b/optional_unmarshaljson_uint64_test.go index 42178bd..137e893 100644 --- a/optional_unmarshaljson_uint64_test.go +++ b/optional_unmarshaljson_uint64_test.go @@ -5,7 +5,7 @@ import ( "encoding/json" - "sourcecode.social/reiver/go-opt" + "github.com/reiver/go-opt" ) func TestOptional_UnmarshalJSON_uint64(t *testing.T) { diff --git a/optional_whennothing_test.go b/optional_whennothing_test.go index dc765ae..48f37ad 100644 --- a/optional_whennothing_test.go +++ b/optional_whennothing_test.go @@ -1,7 +1,7 @@ package opt_test import ( - "sourcecode.social/reiver/go-opt" + "github.com/reiver/go-opt" "testing" ) diff --git a/optional_whensomething_test.go b/optional_whensomething_test.go index 3eaf516..d04c760 100644 --- a/optional_whensomething_test.go +++ b/optional_whensomething_test.go @@ -1,7 +1,7 @@ package opt_test import ( - "sourcecode.social/reiver/go-opt" + "github.com/reiver/go-opt" "testing" ) diff --git a/then_test.go b/then_test.go index 760e83b..92cbd8e 100644 --- a/then_test.go +++ b/then_test.go @@ -1,7 +1,7 @@ package opt_test import ( - "sourcecode.social/reiver/go-opt" + "github.com/reiver/go-opt" "testing" )