enhance
This commit is contained in:
Vendored
+2
@@ -13,4 +13,6 @@ export function GetHistory(arg1:number,arg2:number):Promise<backend.Response>;
|
||||
|
||||
export function GormDB():Promise<gorm.DB>;
|
||||
|
||||
export function Shutdown():Promise<void>;
|
||||
|
||||
export function UploadImage(arg1:Array<number>,arg2:string):Promise<backend.Response>;
|
||||
|
||||
@@ -22,6 +22,10 @@ export function GormDB() {
|
||||
return window['go']['backend']['App']['GormDB']();
|
||||
}
|
||||
|
||||
export function Shutdown() {
|
||||
return window['go']['backend']['App']['Shutdown']();
|
||||
}
|
||||
|
||||
export function UploadImage(arg1, arg2) {
|
||||
return window['go']['backend']['App']['UploadImage'](arg1, arg2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user