FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

aofdev/dtype: The default value of types can be nullable · GitHub

/ dtype Public

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dtype

⚙️ Installation

go get -u github.com/aofdev/dtype

⚡️ Quickstart

package main

import (
	"fmt"

	d "github.com/aofdev/dtype"
)

const text = ""

func main() {
	value, isNull := d.DefaultStringWithNullable(text)
	fmt.Printf("value: %v isNull: %v", value, isNull)
}

//output: value:  isNull: <nil>

About

The default value of types can be nullable

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL