Documentation ¶
Index ¶
- Constants
- func DeepCopy(src interface{}) interface{}
- func FlagOperationsDemo()
- func HTMLTemplatesDemo()
- func JSONOperationsDemo()
- func LogOperationsDemo()
- func PrintC(color string, strs ...string) string
- func PrintHeader(s string)
- func ReflectionOperationsDemo()
- func SliceOperationsDemo()
- func StringConversionsDemo()
- func StringOperationsDemo()
- type Address
- type CustomFlag
- type DeepCopyable
- type Person
Constants ¶
View Source
const ( Reset = "\033[0m" Red = "\033[31m" Green = "\033[32m" Yellow = "\033[33m" Blue = "\033[34m" Purple = "\033[35m" Cyan = "\033[36m" Gray = "\033[37m" White = "\033[97m" )
Terminal Colours
Variables ¶
This section is empty.
Functions ¶
func DeepCopy ¶
func DeepCopy(src interface{}) interface{}
DeepCopy recursively copies the given struct, slices, arrays, maps and pointers
func FlagOperationsDemo ¶
func FlagOperationsDemo()
func HTMLTemplatesDemo ¶
func HTMLTemplatesDemo()
func JSONOperationsDemo ¶
func JSONOperationsDemo()
func LogOperationsDemo ¶
func LogOperationsDemo()
func PrintHeader ¶
func PrintHeader(s string)
func ReflectionOperationsDemo ¶
func ReflectionOperationsDemo()
func SliceOperationsDemo ¶
func SliceOperationsDemo()
func StringConversionsDemo ¶
func StringConversionsDemo()
*********************************************************************************************** String Conversions ***********************************************************************************************
func StringOperationsDemo ¶
func StringOperationsDemo()
*********************************************************************************************** String Operations ***********************************************************************************************
Types ¶
type CustomFlag ¶
type CustomFlag []string
func (*CustomFlag) Set ¶
func (c *CustomFlag) Set(value string) error
Set parses and sets the value of the CustomFlag.
func (*CustomFlag) String ¶
func (c *CustomFlag) String() string
String returns a string representation of the CustomFlag type.
type DeepCopyable ¶
type DeepCopyable interface {
DeepCopy() DeepCopyable
}
Click to show internal directories.
Click to hide internal directories.