vim-goのインストールしたのに GoRun
などの Go**
系のコマンドが認識されなかった。
※ GoInstallBinaries などは実行できる状況
どうも vim-go が開かれたファイルのファイルタイプを見ているようで、
.go
でないと Go**
系のコマンドは効かない模様。
Not an editor command (again. Yes I've read the other ones) #1610
// stdout | |
var name = "hoge" | |
console.log("hello "+ name) | |
// create object | |
const person = { | |
name: ['Bob', 'Smith'], | |
age: 33, | |
gender: 'male', | |
bio: function() { |
vim-goのインストールしたのに GoRun
などの Go**
系のコマンドが認識されなかった。
※ GoInstallBinaries などは実行できる状況
どうも vim-go が開かれたファイルのファイルタイプを見ているようで、
.go
でないと Go**
系のコマンドは効かない模様。
Not an editor command (again. Yes I've read the other ones) #1610
◆ 正規化に関して重要な用語
◆ 非正規化
【データベース接続、操作】
【基本SQL】
package com.example.enumtest; | |
public interface EnumIf<T> { | |
public T getCode(); | |
} |
import java.util.List; | |
import java.util.Map; | |
import java.util.Set; | |
public class Dest { | |
private boolean b; | |
private short s; | |
private Integer i; | |
private Long l; |
package com.example.reflection; | |
public class ExReflectionSample { | |
public static void main(String[] args) throws Exception { | |
Class<? extends Exception> clazz = (Class) Class.forName("com.example.reflection.MyException"); | |
try { | |
throw clazz.getConstructor(String.class).newInstance("test"); | |
} catch (Exception e) { | |
e.printStackTrace(); | |
} |