8000 GitHub - flowXM/gw-exchanger
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

flowXM/gw-exchanger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Запуск сервиса

go run cmd/main.go -c config.env

Миграция базы данных

psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" <<-EOSQL
    CREATE TYPE currency AS ENUM ('RUB', 'USD', 'EUR');

    CREATE TABLE IF NOT EXISTS exchange_rates (
        currency currency PRIMARY KEY,
        rate numeric NOT NULL
    );


    INSERT INTO
        exchange_rates
    VALUES
        ('RUB', 1),
        ('USD', 84.0981),
        ('EUR', 90.648);    
EOSQL

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0