Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.

aisk/any

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

any.Type

GoDoc Build Status Codecov

The missing any.Type for go.

any


any.Type is just a type alias for interface{}, you can use it as any value's type.

Example:

package main

import (
    "github.com/aisk/any"
)

func main() {
    var a any.Type
    a = 42
    a = true
    a = "don't panic"
    println(a)
}

There is also an any.Map and any.Slice, behave like it looks like.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages