From c65e9a7d47ffc1e5196fbd748a683c0d7901e459 Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Thu, 1 Aug 2024 16:28:38 -0700 Subject: [PATCH] "sourcecode.social/reiver/go-nul" -> "github.com/reiver/go-nul" --- README.md | 10 +++++----- go.mod | 2 +- nullable_filter_test.go | 2 +- nullable_get_test.go | 2 +- nullable_gostring_test.go | 2 +- nullable_marshaljson_bool_test.go | 2 +- nullable_marshaljson_int_test.go | 2 +- nullable_marshaljson_string_test.go | 2 +- nullable_unmarshaljson_bool_test.go | 2 +- nullable_unmarshaljson_int_test.go | 2 +- nullable_unmarshaljson_string_test.go | 2 +- nullable_whennothing_test.go | 2 +- nullable_whennull_test.go | 2 +- nullable_whensomething_test.go | 2 +- 14 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 37cbb8a..0a52d7f 100644 --- a/README.md +++ b/README.md @@ -6,15 +6,15 @@ In other programming languages, an **optional-type** might be known as: a **opti ## Documention -Online documentation, which includes examples, can be found at: http://godoc.org/sourcecode.social/reiver/go-nul +Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-nul -[![GoDoc](https://godoc.org/sourcecode.social/reiver/go-nul?status.svg)](https://godoc.org/sourcecode.social/reiver/go-nul) +[![GoDoc](https://godoc.org/github.com/reiver/go-nul?status.svg)](https://godoc.org/github.com/reiver/go-nul) ## Examples Here is an example **nullable** **optional-type** that can hold a string: ```go -import "sourcecode.social/reiver/go-nul" +import "github.com/reiver/go-nul" // @@ -70,14 +70,14 @@ if found { To import package **nul** use `import` code like the follownig: ``` -import "sourcecode.social/reiver/go-nul" +import "github.com/reiver/go-nul" ``` ## Installation To install package **nul** do the following: ``` -GOPROXY=direct go get https://sourcecode.social/reiver/go-nul +GOPROXY=direct go get https://github.com/reiver/go-nul ``` ## Author diff --git a/go.mod b/go.mod index 84a2168..3b5d155 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module sourcecode.social/reiver/go-nul +module github.com/reiver/go-nul go 1.18 diff --git a/nullable_filter_test.go b/nullable_filter_test.go index c85af62..3bb40ed 100644 --- a/nullable_filter_test.go +++ b/nullable_filter_test.go @@ -3,7 +3,7 @@ package nul_test import ( "testing" - "sourcecode.social/reiver/go-nul" + "github.com/reiver/go-nul" ) func TestNullable_Filter_int(t *testing.T) { diff --git a/nullable_get_test.go b/nullable_get_test.go index b036145..6853c57 100644 --- a/nullable_get_test.go +++ b/nullable_get_test.go @@ -3,7 +3,7 @@ package nul_test import ( "testing" - "sourcecode.social/reiver/go-nul" + "github.com/reiver/go-nul" ) func TestNullable_Get_string(t *testing.T) { diff --git a/nullable_gostring_test.go b/nullable_gostring_test.go index fdd0134..6ae75ca 100644 --- a/nullable_gostring_test.go +++ b/nullable_gostring_test.go @@ -5,7 +5,7 @@ import ( "fmt" - "sourcecode.social/reiver/go-nul" + "github.com/reiver/go-nul" ) func TestNullable_GoString(t *testing.T) { diff --git a/nullable_marshaljson_bool_test.go b/nullable_marshaljson_bool_test.go index 45c02ad..a593900 100644 --- a/nullable_marshaljson_bool_test.go +++ b/nullable_marshaljson_bool_test.go @@ -3,7 +3,7 @@ package nul_test import ( "testing" - "sourcecode.social/reiver/go-nul" + "github.com/reiver/go-nul" ) func TestNullable_MarshalJSON_bool(t *testing.T) { diff --git a/nullable_marshaljson_int_test.go b/nullable_marshaljson_int_test.go index dceaa71..e4295b3 100644 --- a/nullable_marshaljson_int_test.go +++ b/nullable_marshaljson_int_test.go @@ -3,7 +3,7 @@ package nul_test import ( "testing" - "sourcecode.social/reiver/go-nul" + "github.com/reiver/go-nul" ) func TestNullable_MarshalJSON_int(t *testing.T) { diff --git a/nullable_marshaljson_string_test.go b/nullable_marshaljson_string_test.go index 05647d5..b882973 100644 --- a/nullable_marshaljson_string_test.go +++ b/nullable_marshaljson_string_test.go @@ -3,7 +3,7 @@ package nul_test import ( "testing" - "sourcecode.social/reiver/go-nul" + "github.com/reiver/go-nul" ) func TestNullable_MarshalJSON_string(t *testing.T) { diff --git a/nullable_unmarshaljson_bool_test.go b/nullable_unmarshaljson_bool_test.go index 9026795..edb6894 100644 --- a/nullable_unmarshaljson_bool_test.go +++ b/nullable_unmarshaljson_bool_test.go @@ -5,7 +5,7 @@ import ( "encoding/json" - "sourcecode.social/reiver/go-nul" + "github.com/reiver/go-nul" ) func TestNullable_UnmarshalJSON_bool(t *testing.T) { diff --git a/nullable_unmarshaljson_int_test.go b/nullable_unmarshaljson_int_test.go index 8e2075e..a9085ea 100644 --- a/nullable_unmarshaljson_int_test.go +++ b/nullable_unmarshaljson_int_test.go @@ -5,7 +5,7 @@ import ( "encoding/json" - "sourcecode.social/reiver/go-nul" + "github.com/reiver/go-nul" ) func TestNullable_UnmarshalJSON_int(t *testing.T) { diff --git a/nullable_unmarshaljson_string_test.go b/nullable_unmarshaljson_string_test.go index 38aab38..102c40e 100644 --- a/nullable_unmarshaljson_string_test.go +++ b/nullable_unmarshaljson_string_test.go @@ -5,7 +5,7 @@ import ( "encoding/json" - "sourcecode.social/reiver/go-nul" + "github.com/reiver/go-nul" ) func TestNullable_UnmarshalJSON_string(t *testing.T) { diff --git a/nullable_whennothing_test.go b/nullable_whennothing_test.go index 16387df..7dc058e 100644 --- a/nullable_whennothing_test.go +++ b/nullable_whennothing_test.go @@ -3,7 +3,7 @@ package nul_test import ( "testing" - "sourcecode.social/reiver/go-nul" + "github.com/reiver/go-nul" ) func TestNullable_WhenNothing_nothing(t *testing.T) { diff --git a/nullable_whennull_test.go b/nullable_whennull_test.go index 906ff57..ed1d2ed 100644 --- a/nullable_whennull_test.go +++ b/nullable_whennull_test.go @@ -3,7 +3,7 @@ package nul_test import ( "testing" - "sourcecode.social/reiver/go-nul" + "github.com/reiver/go-nul" ) func TestNullable_WhenNull_nothing(t *testing.T) { diff --git a/nullable_whensomething_test.go b/nullable_whensomething_test.go index c274531..55990ae 100644 --- a/nullable_whensomething_test.go +++ b/nullable_whensomething_test.go @@ -1,7 +1,7 @@ package nul_test import ( - "sourcecode.social/reiver/go-nul" + "github.com/reiver/go-nul" "testing" )