orm_test: remove pg import for now

pull/1654/head
Alexander Medvednikov 2019-08-18 15:02:30 +03:00
parent 22348f2245
commit f9fb6f0be4
3 changed files with 31 additions and 31 deletions

View File

@ -241,7 +241,7 @@ pub fn new_context(cfg gg.Cfg) *Context {
// A dirty hack to implement rendering of cyrillic letters. // A dirty hack to implement rendering of cyrillic letters.
// All UTF-8 must be supported. // All UTF-8 must be supported.
fn (ctx mut Context) init_utf8_runes() { fn (ctx mut Context) init_utf8_runes() {
s := 'йцукенгшщзхъфывапролджэячсмитьбюЙЦУКЕНГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮ' s := 'йцукенгшщзхъфывапролджэячсмитьбюЙЦУКЕНГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮ'
println(s) println(s)
us := s.ustring() us := s.ustring()
for i := 0; i < us.len; i++ { for i := 0; i < us.len; i++ {

View File

@ -1,4 +1,4 @@
import pg //import pg
struct Modules { struct Modules {
id int id int