github.com/galaxyobe/gen@v0.0.0-20220910125335-392fa8f0990f/cmd/getter-gen/output_tests/pointer/getter_generated.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright 2022 Galaxyobe. 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 */ 19 20 // Code generated by ___getter_gen. DO NOT EDIT. 21 22 package pointer 23 24 import ( 25 builtins "github.com/galaxyobe/gen/cmd/getter-gen/output_tests/builtins" 26 ) 27 28 func (b *Builtins) GetU8() builtins.Uint8 { 29 return b.U8 30 } 31 32 func (b *Builtins) GetI8() builtins.Int8 { 33 return b.I8 34 } 35 36 func (b *Builtins) GetU() builtins.Uint { 37 return b.U 38 } 39 40 func (b *Builtins) GetI() builtins.Int { 41 return b.I 42 } 43 44 func (b *Builtins) GetStrFunc() builtins.StrFunc { 45 return b.StrFunc 46 } 47 48 func (b *Builtins) GetI8Func() builtins.I8Func { 49 return b.I8Func 50 } 51 52 func (b *Builtins) GetU8Func() builtins.U8Func { 53 return b.U8Func 54 } 55 56 func (b *Builtins) GetInt8() int8 { 57 return b.Int8 58 } 59 60 func (b *Builtins) GetUint8() uint8 { 61 return b.Uint8 62 } 63 64 func (b *Builtins) GetA() interface{} { 65 return b.A 66 } 67 68 func (b *Builtins) GetBool() bool { 69 return b.Bool 70 } 71 72 func (b *Builtins) GetByte() byte { 73 return b.Byte 74 } 75 76 func (b *Builtins) GetInt16() int16 { 77 return b.Int16 78 } 79 80 func (b *Builtins) GetInt32() int32 { 81 return b.Int32 82 } 83 84 func (b *Builtins) GetInt64() int64 { 85 return b.Int64 86 } 87 88 func (b *Builtins) GetUint16() uint16 { 89 return b.Uint16 90 } 91 92 func (b *Builtins) GetUint32() uint32 { 93 return b.Uint32 94 } 95 96 func (b *Builtins) GetUint64() uint64 { 97 return b.Uint64 98 } 99 100 func (b *Builtins) GetFloat32() float32 { 101 return b.Float32 102 } 103 104 func (b *Builtins) GetFloat64() float64 { 105 return b.Float64 106 } 107 108 func (b *Builtins) GetString() string { 109 return b.String 110 } 111 112 func (b *Builtins) GetBytes() []byte { 113 return b.Bytes 114 } 115 116 func (b *Builtins) GetBoolP() *bool { 117 return b.BoolP 118 } 119 120 func (b *Builtins) GetByteP() *byte { 121 return b.ByteP 122 } 123 124 func (b *Builtins) GetIntP() *int { 125 return b.IntP 126 } 127 128 func (b *Builtins) GetUintP() *uint { 129 return b.UintP 130 } 131 132 func (b *Builtins) GetBytesP() *[]byte { 133 return b.BytesP 134 } 135 136 func (b *Builtins) GetFloat64P() *float64 { 137 return b.Float64P 138 } 139 140 func (b *Builtins) GetStringP() *string { 141 return b.StringP 142 }