command
Version:
v0.0.0-...-d153a89
Opens a new window with list of versions in this module.
Published: May 24, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
*
- 操作を続けるか否かを示すブーリアンの結果を pre 関数と post 関数が返すようにして、
- それに対応するように forEachNode を修正しなさい。
- 修正した forEachNode を使って、指定された id 属性を持つ最初の HTML 要素を見つけるような
- 下記のシグニチャの関数 ElementByID を書きなさい。
- ElementByID 関数は、一致が見つかったら走査を中止しなければなりません。
- func ElementByID(doc *html.Node, id string) *html.Node
Source Files
¶
Click to show internal directories.
Click to hide internal directories.