TheOldMonk
TheOldMonk
as a workaround following function was used ``` func UnMarshalBigInt(b []byte, v *int64) error { var s string err := json.Unmarshal(b, &s) if err != nil { return err }...
this is a snowflake id generator i have used https://rob.conery.io/2014/05/29/a-better-id-generator-for-postgresql/ CREATE OR REPLACE FUNCTION public.id_generator(OUT result bigint) RETURNS bigint LANGUAGE plpgsql AS $function$ DECLARE our_epoch bigint := 1314220021721; seq_id bigint;...
please feel free to join hands here https://github.com/msonawane/templ-components
wow thanks for the wisdom i will digest it and ask any questions over the weekend
I had a products table with id_generator() too