我創建了這樣一個表格, create table mytable(hash char(40), title varchar(500));
create index name_fts on mytable using gin(to_tsvector('english', 'title'));
CREATE UNIQUE INDEX md5_uniq_idx ON mytable(hash);
我剛開始學習Go。 我需要將杜松子酒模式設置爲釋放模式。我應該怎麼做? 現在,當我跑我的API有這樣的提示: [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.S