This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"encoding/json" | |
"fmt" | |
"cuelang.org/go/cue/cuecontext" | |
"cuelang.org/go/cue/load" | |
"cuelang.org/go/encoding/openapi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
func main() { | |
fileManager := fileManager{ | |
storage: &FileStorage{}, | |
} | |
fileManager.Save("test.txt", "テストデータ") | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"net/http" | |
"github.com/labstack/echo-contrib/pprof" | |
"github.com/labstack/echo/v4" | |
"golang.org/x/crypto/bcrypt" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package exception | |
import ( | |
"fmt" | |
"runtime" | |
) | |
type errorcode int | |
const ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Insert your preferred key mappings here. | |
unmapAll | |
map j scrollDown | |
map k scrollUp | |
map gg scrollToTop | |
map G scrollToBottom | |
map <c-d> scrollPageDown | |
map <c-u> scrollPageUp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM opensearchproject/opensearch:1.2.0 | |
RUN /usr/share/opensearch/bin/opensearch-plugin install analysis-kuromoji | |
RUN /usr/share/opensearch/bin/opensearch-plugin install analysis-icu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"sample/openapi" | |
"github.com/labstack/echo/v4" | |
) | |
type server struct{} |