カクヨム(https://kakuyomu.jp/)の月間・週間ランキングから作品情報を取得するGoプログラムです。
カクヨムのランキングページから以下の情報を取得します:
- ランキング順位
 - タイトル
 
カクヨム(https://kakuyomu.jp/)の月間・週間ランキングから作品情報を取得するGoプログラムです。
カクヨムのランキングページから以下の情報を取得します:
はい、承知いたしました。 改めて、ご指定のプロンプトに従い、X/Twitterの連投(スレッド)について解説します。
mkdir -p /tmp/goinspect;
for pkg in $(cat docs/go-stdlib-packages.md | sed 's/^- //g' | grep '^[a-z]'); do
  output="/tmp/goinspect/$(echo $pkg | tr / -).md";
  goinspect -log-level info -pkg $pkg &> /tmp/tmp;
  printf "# ${pkg}\n" > $output;
  printf '```\n' >> $output;
 cat /tmp/tmp >> $output;| package main | |
| import ( | |
| "fmt" | |
| "log/slog" | |
| "os" | |
| ) | |
| func log(logger *slog.Logger) { | |
| logger.Debug("debug message") | 
goname is a simple and robust command-line utility to get the package name from a Go package path.
It is designed to work seamlessly whether the package is part of your current Go module or an external one. It intelligently falls back to a temporary module to resolve package names that are not in your module's dependency graph.
@latest or @v1.2.3 for fetching packages.