github.com/kyleu/dbaudit@v0.0.2-0.20240321155047-ff2f2c940496/views/components/view/Int.html.go (about) 1 // Code generated by qtc from "Int.html". DO NOT EDIT. 2 // See https://github.com/valyala/quicktemplate for details. 3 4 // <!-- Content managed by Project Forge, see [projectforge.md] for details. --> 5 6 //line views/components/view/Int.html:2 7 package view 8 9 //line views/components/view/Int.html:2 10 import "github.com/kyleu/dbaudit/app/util" 11 12 //line views/components/view/Int.html:4 13 import ( 14 qtio422016 "io" 15 16 qt422016 "github.com/valyala/quicktemplate" 17 ) 18 19 //line views/components/view/Int.html:4 20 var ( 21 _ = qtio422016.Copy 22 _ = qt422016.AcquireByteBuffer 23 ) 24 25 //line views/components/view/Int.html:4 26 func StreamInt(qw422016 *qt422016.Writer, i any) { 27 //line views/components/view/Int.html:5 28 qw422016.E().V(i) 29 //line views/components/view/Int.html:6 30 } 31 32 //line views/components/view/Int.html:6 33 func WriteInt(qq422016 qtio422016.Writer, i any) { 34 //line views/components/view/Int.html:6 35 qw422016 := qt422016.AcquireWriter(qq422016) 36 //line views/components/view/Int.html:6 37 StreamInt(qw422016, i) 38 //line views/components/view/Int.html:6 39 qt422016.ReleaseWriter(qw422016) 40 //line views/components/view/Int.html:6 41 } 42 43 //line views/components/view/Int.html:6 44 func Int(i any) string { 45 //line views/components/view/Int.html:6 46 qb422016 := qt422016.AcquireByteBuffer() 47 //line views/components/view/Int.html:6 48 WriteInt(qb422016, i) 49 //line views/components/view/Int.html:6 50 qs422016 := string(qb422016.B) 51 //line views/components/view/Int.html:6 52 qt422016.ReleaseByteBuffer(qb422016) 53 //line views/components/view/Int.html:6 54 return qs422016 55 //line views/components/view/Int.html:6 56 } 57 58 //line views/components/view/Int.html:8 59 func StreamIntArray(qw422016 *qt422016.Writer, value []any) { 60 //line views/components/view/Int.html:9 61 StreamStringArray(qw422016, util.ArrayToStringArray(value)) 62 //line views/components/view/Int.html:10 63 } 64 65 //line views/components/view/Int.html:10 66 func WriteIntArray(qq422016 qtio422016.Writer, value []any) { 67 //line views/components/view/Int.html:10 68 qw422016 := qt422016.AcquireWriter(qq422016) 69 //line views/components/view/Int.html:10 70 StreamIntArray(qw422016, value) 71 //line views/components/view/Int.html:10 72 qt422016.ReleaseWriter(qw422016) 73 //line views/components/view/Int.html:10 74 } 75 76 //line views/components/view/Int.html:10 77 func IntArray(value []any) string { 78 //line views/components/view/Int.html:10 79 qb422016 := qt422016.AcquireByteBuffer() 80 //line views/components/view/Int.html:10 81 WriteIntArray(qb422016, value) 82 //line views/components/view/Int.html:10 83 qs422016 := string(qb422016.B) 84 //line views/components/view/Int.html:10 85 qt422016.ReleaseByteBuffer(qb422016) 86 //line views/components/view/Int.html:10 87 return qs422016 88 //line views/components/view/Int.html:10 89 }