I'm goofing around with GIN and trying some examples. I can't get
templating to work for me.
File inclusion works, but variable substitution does not.
GOLANG version 1.20.12
package main
import "github.com/gin-gonic/gin"
import "net/http"
// import "gorm.io/driver/sqlite"
// import "gorm.i
Luca, thanks for your answerr
El viernes, 2 de febrero de 2024 a la(s) 3:06:17 p.m. UTC-3, Luca Pascali
escribió:
> you forgot the \n in the printf format string
>
> without it, next is written right after the end of the printf
>
>
> Psk
>
> Il ven 2 feb 2024, 17:56 Juan Mamani ha scritto:
>
>>
Kurtis, thanks for your reply.
El viernes, 2 de febrero de 2024 a la(s) 2:12:55 p.m. UTC-3, Kurtis Rader
escribió:
> I think you're being confused by the lack of newlines in the output. Add
> "\n" to the end of the printf format.
>
> On Fri, Feb 2, 2024 at 8:56 AM Juan Mamani wrote:
>
>> Hi ev
Admittedly, C and Python work the same way, which is different to Go.
#include
int main(void) {
printf("%07x\n", 42);
printf("%0#7x\n", 42);
printf("0x%07x\n", 42);
return 0;
}
// Output
02a
0x0002a
0x02a
On Wednesday 31 January 2024 at 13:56:07 UTC Brian Candler wrote: