@@ -140,7 +140,8 @@ func validateValueFunc(values []string) schema.SchemaValidateDiagFunc {
140140}
141141
142142// return the pieces of id `left:right` as left, right.
143- // @deprecated: use parseID2 instead.
143+ //
144+ // Deprecated: use parseID2 instead.
144145func parseTwoPartID (id , left , right string ) (string , string , error ) {
145146 parts := strings .SplitN (id , ":" , 2 )
146147 if len (parts ) != 2 {
@@ -151,12 +152,15 @@ func parseTwoPartID(id, left, right string) (string, string, error) {
151152}
152153
153154// format the strings into an id `a:b`.
155+ //
156+ // Deprecated: use buildID instead.
154157func buildTwoPartID (a , b string ) string {
155158 return fmt .Sprintf ("%s:%s" , a , b )
156159}
157160
158161// return the pieces of id `left:center:right` as left, center, right.
159- // @deprecated: use parseID3 instead.
162+ //
163+ // Deprecated: Use parseID3 instead.
160164func parseThreePartID (id , left , center , right string ) (string , string , string , error ) {
161165 parts := strings .SplitN (id , ":" , 3 )
162166 if len (parts ) != 3 {
@@ -167,6 +171,8 @@ func parseThreePartID(id, left, center, right string) (string, string, string, e
167171}
168172
169173// format the strings into an id `a:b:c`.
174+ //
175+ // Deprecated: use buildID instead.
170176func buildThreePartID (a , b , c string ) string {
171177 return fmt .Sprintf ("%s:%s:%s" , a , b , c )
172178}
0 commit comments