github.com/galaxyobe/gen@v0.0.0-20220910125335-392fa8f0990f/cmd/getter-gen/output_tests/builtins/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 builtins 23 24 func (a *Alias) GetU8() Uint8 { 25 return a.U8 26 } 27 28 func (a *Alias) GetI8() Int8 { 29 return a.I8 30 } 31 32 func (a *Alias) GetU() Uint { 33 return a.U 34 } 35 36 func (a *Alias) GetI() Int { 37 return a.I 38 } 39 40 func (a *Alias) GetStrFunc() StrFunc { 41 return a.StrFunc 42 } 43 44 func (a *Alias) GetI8Func() I8Func { 45 return a.I8Func 46 } 47 48 func (a *Alias) GetU8Func() U8Func { 49 return a.U8Func 50 } 51 52 func (a *Alias) GetInt8() int8 { 53 return a.Int8 54 } 55 56 func (a *Alias) GetUint8() uint8 { 57 return a.Uint8 58 } 59 60 func (a *Alias) GetA() interface{} { 61 return a.a 62 } 63 64 func (a *Alias) GetA2() interface{} { 65 return a.A 66 } 67 68 func (a *Alias) GetB() byte { 69 return a.b 70 } 71 72 func (a *Alias) GetI2() int { 73 return a.i 74 } 75 76 func (a *Alias) GetU2() uint { 77 return a.u 78 } 79 80 func (a *Alias) GetBool() bool { 81 return a.Bool 82 } 83 84 func (a *Alias) GetByte() byte { 85 return a.Byte 86 } 87 88 func (a *Alias) GetInt16() int16 { 89 return a.Int16 90 } 91 92 func (a *Alias) GetInt32() int32 { 93 return a.Int32 94 } 95 96 func (a *Alias) GetInt64() int64 { 97 return a.Int64 98 } 99 100 func (a *Alias) GetUint16() uint16 { 101 return a.Uint16 102 } 103 104 func (a *Alias) GetUint32() uint32 { 105 return a.Uint32 106 } 107 108 func (a *Alias) GetUint64() uint64 { 109 return a.Uint64 110 } 111 112 func (a *Alias) GetFloat32() float32 { 113 return a.Float32 114 } 115 116 func (a *Alias) GetFloat64() float64 { 117 return a.Float64 118 } 119 120 func (a *Alias) GetString() string { 121 return a.String 122 } 123 124 func (a *Alias) GetBytes() []byte { 125 return a.Bytes 126 } 127 128 func (a *Alias) GetBoolP() *bool { 129 return a.BoolP 130 } 131 132 func (a *Alias) GetByteP() *byte { 133 return a.ByteP 134 } 135 136 func (a *Alias) GetIntP() *int { 137 return a.IntP 138 } 139 140 func (a *Alias) GetUintP() *uint { 141 return a.UintP 142 } 143 144 func (a *Alias) GetBytesP() *[]byte { 145 return a.BytesP 146 } 147 148 func (a *Alias) GetFloat64P() *float64 { 149 return a.Float64P 150 } 151 152 func (a *Alias) GetStringP() *string { 153 return a.StringP 154 } 155 156 func (b *Builtins) GetU8() Uint8 { 157 return b.U8 158 } 159 160 func (b *Builtins) GetI8() Int8 { 161 return b.I8 162 } 163 164 func (b *Builtins) GetU() Uint { 165 return b.U 166 } 167 168 func (b *Builtins) GetI() Int { 169 return b.I 170 } 171 172 func (b *Builtins) GetStrFunc() StrFunc { 173 return b.StrFunc 174 } 175 176 func (b *Builtins) GetI8Func() I8Func { 177 return b.I8Func 178 } 179 180 func (b *Builtins) GetU8Func() U8Func { 181 return b.U8Func 182 } 183 184 func (b *Builtins) GetInt8() int8 { 185 return b.Int8 186 } 187 188 func (b *Builtins) GetUint8() uint8 { 189 return b.Uint8 190 } 191 192 func (b *Builtins) GetA() interface{} { 193 return b.a 194 } 195 196 func (b *Builtins) GetA2() interface{} { 197 return b.A 198 } 199 200 func (b *Builtins) GetB() byte { 201 return b.b 202 } 203 204 func (b *Builtins) GetI2() int { 205 return b.i 206 } 207 208 func (b *Builtins) GetU2() uint { 209 return b.u 210 } 211 212 func (b *Builtins) GetBool() bool { 213 return b.Bool 214 } 215 216 func (b *Builtins) GetByte() byte { 217 return b.Byte 218 } 219 220 func (b *Builtins) GetInt16() int16 { 221 return b.Int16 222 } 223 224 func (b *Builtins) GetInt32() int32 { 225 return b.Int32 226 } 227 228 func (b *Builtins) GetInt64() int64 { 229 return b.Int64 230 } 231 232 func (b *Builtins) GetUint16() uint16 { 233 return b.Uint16 234 } 235 236 func (b *Builtins) GetUint32() uint32 { 237 return b.Uint32 238 } 239 240 func (b *Builtins) GetUint64() uint64 { 241 return b.Uint64 242 } 243 244 func (b *Builtins) GetFloat32() float32 { 245 return b.Float32 246 } 247 248 func (b *Builtins) GetFloat64() float64 { 249 return b.Float64 250 } 251 252 func (b *Builtins) GetString() string { 253 return b.String 254 } 255 256 func (b *Builtins) GetBytes() []byte { 257 return b.Bytes 258 } 259 260 func (b *Builtins) GetBoolP() *bool { 261 return b.BoolP 262 } 263 264 func (b *Builtins) GetByteP() *byte { 265 return b.ByteP 266 } 267 268 func (b *Builtins) GetIntP() *int { 269 return b.IntP 270 } 271 272 func (b *Builtins) GetUintP() *uint { 273 return b.UintP 274 } 275 276 func (b *Builtins) GetBytesP() *[]byte { 277 return b.BytesP 278 } 279 280 func (b *Builtins) GetFloat64P() *float64 { 281 return b.Float64P 282 } 283 284 func (b *Builtins) GetStringP() *string { 285 return b.StringP 286 } 287 288 func (s *Slice) GetI8S() []int8 { 289 return s.i8S 290 } 291 292 func (s *Slice) GetI8S2() []*int8 { 293 return s.I8S 294 } 295 296 func (s *Slice) GetI8PS() *[]int8 { 297 return s.I8pS 298 } 299 300 func (s *Slice) GetU8S() []uint8 { 301 return s.u8S 302 } 303 304 func (s *Slice) GetU8S2() []*uint8 { 305 return s.U8S 306 } 307 308 func (s *Slice) GetU8PS() *[]uint8 { 309 return s.U8pS 310 } 311 312 func (s *Slice) GetSS() []string { 313 return s.sS 314 } 315 316 func (s *Slice) GetSS2() []*string { 317 return s.SS 318 } 319 320 func (s *Slice) GetSpS() *[]string { 321 return s.SpS 322 } 323 324 func (s *Slice) GetBS() []byte { 325 return s.bS 326 } 327 328 func (s *Slice) GetBS2() []*byte { 329 return s.BS 330 } 331 332 func (s *Slice) GetBpS() *[]byte { 333 return s.BpS 334 } 335 336 func (s *Slice) GetBuiltinsS() []Builtins { 337 return s.builtinsS 338 } 339 340 func (s *Slice) GetBuiltinsS2() []*Builtins { 341 return s.BuiltinsS 342 } 343 344 func (s *Slice) GetBuiltinsPs() *[]Builtins { 345 return s.BuiltinsPs 346 }