Skip to content

Instantly share code, notes, and snippets.

View Javlopez's full-sized avatar

Javier Lopez Lopez Javlopez

View GitHub Profile
/src # sh tools/start.sh
==> Django setup, Start
==> Environment: Production
==> Django setup, executing: migrate
System check identified some issues:
WARNINGS:
?: (mysql.W002) MySQL Strict Mode is not set for database connection 'default'
HINT: MySQL's Strict Mode fixes many data integrity problems in MySQL, such as data truncation upon insertion, by escalating warnings into errors. It is strongly recommended you activate it. See: https://docs.djangoproject.com/en/3.0/ref/databases/#mysql-sql-mode
Operations to perform:
@Javlopez
Javlopez / main.go
Last active October 20, 2021 21:00
Custom unmarshal
package main
import (
"encoding/json"
"fmt"
"strings"
"time"
)
type DateCreatedAt time.Time