File tree Expand file tree Collapse file tree 2 files changed +19
-3
lines changed
Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 22
33このディレクトリには以下のサンプルがあります。
44
5- | file | example name | note |
6- | ------------- | ---------------| --------------------------------------------|
7- | joinpath.go | url \_ joinpath | Go1.19 から追加された url.JoinPath() についてのサンプルです. |
5+ | file | example name | note |
6+ | ----------- | ------------ | ------------------------------------------------------------ |
7+ | joinpath.go | url_joinpath | Go1.19 から追加された url.JoinPath() についてのサンプルです. |
88
Original file line number Diff line number Diff line change @@ -24,4 +24,20 @@ func JoinPath() error {
2424 output .Stdoutl ("[url.JoinPath]" , p2 )
2525
2626 return nil
27+
28+ /*
29+ $ task
30+ task: Task "build" is up to date
31+ task: [run] ./try-golang -onetime
32+
33+ ENTER EXAMPLE NAME: url_joinpath
34+
35+ [Name] "url_joinpath"
36+ [url.JoinPath] base/child1/child3
37+ [url.JoinPath] https://devlights.hatenablog.com/entry/2022/08/24/073000
38+
39+
40+ [Elapsed] 40.02µs
41+ */
42+
2743}
You can’t perform that action at this time.
0 commit comments